neovim-config/lua/configs/neodev.lua

19 lines
402 B
Lua
Raw Normal View History

2024-04-03 22:07:52 +00:00
-- IMPORTANT: make sure to setup neodev BEFORE lspconfig
require("neodev").setup({
library = { plugins = { "nvim-dap-ui" }, types = true }
})
-- then setup your lsp server as usual
local lspconfig = require('lspconfig')
-- example to setup lua_ls and enable call snippets
lspconfig.lua_ls.setup({
settings = {
Lua = {
completion = {
callSnippet = "Replace"
}
}
}
})