nvim-configs/lua/lsp.lua

12 lines
344 B
Lua

local enable = vim.lsp.enable
-- When calling `enable 'foo'`, there must be a given file in either:
-- * `~/.config/nvim/lsp/foo.lua`
-- * https://github.com/neovim/nvim-lspconfig/tree/master/lsp
-- you can then further configure them with `vim.lsp.config('foo'. {...})`
enable 'lua_ls'
enable 'rust_analyzer'
enable 'ts_ls'
enable 'vue_ls'