mirror of
https://github.com/ViViDboarder/vim-settings.git
synced 2024-12-22 08:17:35 +00:00
Use lazydev instead of neodev on nvim 0.10+
This commit is contained in:
parent
5846ee9383
commit
054bb39cfc
@ -67,6 +67,10 @@
|
||||
"branch": "main",
|
||||
"commit": "56ead98e05bb37a4ec28930a54d836d033cf00f2"
|
||||
},
|
||||
"lazydev.nvim": {
|
||||
"branch": "main",
|
||||
"commit": "d5800897d9180cea800023f2429bce0a94ed6064"
|
||||
},
|
||||
"limelight.vim": {
|
||||
"branch": "master",
|
||||
"commit": "0c8cc7f503a775c505dc9c67f1f5041ab4d5f1fd"
|
||||
|
@ -337,6 +337,15 @@ return {
|
||||
"https://github.com/folke/neodev.nvim",
|
||||
dependencies = { { "https://github.com/neovim/nvim-lspconfig" } },
|
||||
ft = { "lua" },
|
||||
-- Disable for nvim 0.10 because there is lazydev
|
||||
enabled = vim.fn.has("nvim-0.10") ~= 1,
|
||||
},
|
||||
{
|
||||
"https://github.com/folke/lazydev.nvim",
|
||||
dependencies = { { "https://github.com/neovim/nvim-lspconfig" } },
|
||||
ft = "lua",
|
||||
opts = {},
|
||||
enabled = vim.fn.has("nvim-0.10") == 1,
|
||||
},
|
||||
|
||||
-- Rust analyzer
|
||||
|
@ -18,8 +18,10 @@ function M.config_cmp()
|
||||
{ name = "luasnip" },
|
||||
{ name = "buffer" },
|
||||
{ name = "spell" },
|
||||
-- TODO: Refactor to use the lazy opt expansion feature
|
||||
{ name = "obsidian" },
|
||||
{ name = "obsidian_new" },
|
||||
{ name = "lazydev" },
|
||||
},
|
||||
mapping = cmp.mapping.preset.insert({
|
||||
-- Scroll docs with readline back - forward
|
||||
|
Loading…
Reference in New Issue
Block a user