Move lsp config directly into plugins directory
This commit is contained in:
parent
99c207d910
commit
90c7b98461
2 changed files with 15 additions and 1 deletions
15
vim/plugin/lsp.lua
Normal file
15
vim/plugin/lsp.lua
Normal file
|
@ -0,0 +1,15 @@
|
|||
local config = require 'lspconfig'
|
||||
|
||||
local default = { on_attach = require 'lsp.attach' }
|
||||
for _, language in ipairs {
|
||||
"html",
|
||||
"cssls",
|
||||
"clangd",
|
||||
"tsserver",
|
||||
"lua_ls",
|
||||
"solargraph",
|
||||
"standardrb",
|
||||
"zls",
|
||||
} do
|
||||
config[language].setup(default)
|
||||
end
|
|
@ -1 +0,0 @@
|
|||
lua require 'lsp.setup'
|
Loading…
Reference in a new issue