Files
nvim/data/lsp_servers/init.lua

38 lines
849 B
Lua
Raw Permalink Normal View History

2022-03-03 13:52:43 -05:00
vim.lsp.handlers["textDocument/publishDiagnostics"] = vim.lsp.with(
vim.lsp.diagnostic.on_publish_diagnostics,
{
underline = true,
virtual_text = {
prefix = "",
spacing = 2,
},
update_in_insert = true,
severity_sort = true,
}
)
vim.fn.sign_define("LspDiagnosticsSignError", {
text = "",
numhl = "LspDiagnosticsDefaultError",
})
vim.fn.sign_define("LspDiagnosticsSignWarning", {
text = "",
numhl = "LspDiagnosticsDefaultWarning",
})
vim.fn.sign_define("LspDiagnosticsSignInformation", {
text = "",
numhl = "LspDiagnosticsDefaultInformation",
})
vim.fn.sign_define("LspDiagnosticsSignHint", {
text = "",
numhl = "LspDiagnosticsDefaultHint",
})
require "lsp/bash"
require "lsp/css"
require "lsp/html"
require "lsp/json"
require "lsp/typescript"
require "lsp/vim"
require "lsp/vim"