Move lsp config directly into plugins directory

This commit is contained in:
Talia 2024-02-09 18:53:16 +01:00
parent 99c207d910
commit 90c7b98461
Signed by: darkwiiplayer
GPG key ID: 7808674088232B3E
2 changed files with 15 additions and 1 deletions

15
vim/plugin/lsp.lua Normal file
View 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

View file

@ -1 +0,0 @@
lua require 'lsp.setup'