What should I lazy-load on? #181
Replies: 3 comments
-
Or maybe on |
Beta Was this translation helpful? Give feedback.
-
BAD INDENTATION, POSTING FROM MOBILE
--- OTHER PLUGINS
{
'neovim/nvim-lspconfig',
lazy = false,
dependencies = {
'folke/neodev.nvim',
'folke/neoconf.nvim', -- Objectionable placement
},
config = function()
-- NeoConf loaded here.
-- ...
local Neodev = require('neodev')
Neodev.setup({
library = {
enabled = true,
runtime = true,
types = true,
plugins = true,
},
setup_jsonls = true,
lspconfig = true,
pathStrict = true,
})
local lspconfig = require('lspconfig')
lspconfig.lua_ls.setup({
settings = {
Lua = {
completion = { callSnippet = 'Replace' },
},
},
})
end,
},
-- ...
If Folke or anyone else thinks of a better solution, please give your feedback. Hope this helps you and/or someone else. |
Beta Was this translation helpful? Give feedback.
-
Thank you, this does make sense. I should have read the docs with some more attention. |
Beta Was this translation helpful? Give feedback.
-
With the spec provided in the README, it doesn't load on my lua nvim config files. Maybe:
Beta Was this translation helpful? Give feedback.
All reactions