at dominant 602 B view raw
1return { 2 -- `lazydev` configures Lua LSP for your Neovim config, runtime and plugins 3 -- used for completion, annotations and signatures of Neovim apis 4 'folke/lazydev.nvim', 5 cond = function() 6 if os.getenv("WICKED_VIM_MODE") == "OBSIDIAN" then 7 return false 8 end 9 if os.getenv("WICKED_VIM_MODE") == nil then 10 return true 11 end 12 end, 13 ft = 'lua', 14 opts = { 15 library = { 16 -- Load luvit types when the `vim.uv` word is found 17 { path = '${3rd}/luv/library', words = { 'vim%.uv' } }, 18 }, 19 }, 20} 21