dotfiles/nvim/lua/plugins/lua_ls.lua

9 lines
209 B
Lua

vim.lsp.config.lua_ls =
{
cmd = { os.getenv("HOME") .. "/lua-language-server/bin/lua-language-server" },
root_markers = { 'init.lua' },
filetypes = { 'lua' },
}
vim.lsp.enable({'lua_ls'})