First Commit

This commit is contained in:
Norm Rasmussen
2022-03-03 13:52:43 -05:00
commit 1f66ee24e0
33 changed files with 1656 additions and 0 deletions

37
data/lsp_servers/init.lua Normal file
View File

@ -0,0 +1,37 @@
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"