mirror of
https://github.com/materusPL/nixos-config
synced 2026-04-03 00:27:22 +02:00
Add more neovim plugins
This commit is contained in:
parent
ec3cac1c98
commit
7a2647d5ae
@ -26,6 +26,31 @@ if vim.fn.executable("git") == 1 then
|
|||||||
|
|
||||||
local opts = {}
|
local opts = {}
|
||||||
local plugins = {
|
local plugins = {
|
||||||
|
{
|
||||||
|
"folke/lazydev.nvim",
|
||||||
|
ft = "lua", -- only load on lua files
|
||||||
|
opts = {
|
||||||
|
library = {
|
||||||
|
-- See the configuration section for more details
|
||||||
|
-- Load luvit types when the `vim.uv` word is found
|
||||||
|
{ path = "${3rd}/luv/library", words = { "vim%.uv" } },
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
{ -- optional cmp completion source for require statements and module annotations
|
||||||
|
"hrsh7th/nvim-cmp",
|
||||||
|
opts = function(_, opts)
|
||||||
|
opts.sources = opts.sources or {}
|
||||||
|
table.insert(opts.sources, {
|
||||||
|
name = "lazydev",
|
||||||
|
group_index = 0, -- set group index to 0 to skip loading LuaLS completions
|
||||||
|
})
|
||||||
|
end,
|
||||||
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
'https://github.com/neovim/nvim-lspconfig'
|
||||||
|
},
|
||||||
{
|
{
|
||||||
'stevearc/oil.nvim',
|
'stevearc/oil.nvim',
|
||||||
---@module 'oil'
|
---@module 'oil'
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user