mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-04-18 06:59:43 +02:00
fix: neovim
This commit is contained in:
27
home/base/desktop/neovim/lua/modules/tools/package.lua
Normal file
27
home/base/desktop/neovim/lua/modules/tools/package.lua
Normal file
@@ -0,0 +1,27 @@
|
||||
local package = require('core.pack').package
|
||||
local conf = require('modules.tools.config')
|
||||
|
||||
package({
|
||||
'nvim-telescope/telescope.nvim',
|
||||
cmd = 'Telescope',
|
||||
config = conf.telescope,
|
||||
dependencies = {
|
||||
{ 'nvim-lua/plenary.nvim' },
|
||||
{ 'nvim-telescope/telescope-fzy-native.nvim' },
|
||||
},
|
||||
})
|
||||
|
||||
package({
|
||||
'glepnir/hlsearch.nvim',
|
||||
event = 'BufRead',
|
||||
config = function()
|
||||
require('hlsearch').setup()
|
||||
end,
|
||||
})
|
||||
|
||||
|
||||
-- Copilot AI Assistant
|
||||
-- have no options, but need to run `:Copilot setup` after start neovim to login.
|
||||
package({
|
||||
'github/copilot.vim',
|
||||
})
|
||||
Reference in New Issue
Block a user