summaryrefslogtreecommitdiff
path: root/.config/nvim/lua/lsp/config.lua
diff options
context:
space:
mode:
Diffstat (limited to '.config/nvim/lua/lsp/config.lua')
-rw-r--r--.config/nvim/lua/lsp/config.lua27
1 files changed, 27 insertions, 0 deletions
diff --git a/.config/nvim/lua/lsp/config.lua b/.config/nvim/lua/lsp/config.lua
new file mode 100644
index 0000000..b748b3c
--- /dev/null
+++ b/.config/nvim/lua/lsp/config.lua
@@ -0,0 +1,27 @@
+return {
+ templates_dir = join_paths(get_data_dir(), "site", "after", "ftplugin"),
+ diagnostics = {
+ signs = {
+ active = true,
+ values = {
+ { name = "LspDiagnosticsSignError", text = "" },
+ { name = "LspDiagnosticsSignWarning", text = "" },
+ { name = "LspDiagnosticsSignHint", text = "" },
+ { name = "LspDiagnosticsSignInformation", text = "" },
+ },
+ },
+ virtual_text = true,
+ update_in_insert = false,
+ underline = true,
+ severity_sort = true,
+ },
+ override = {},
+ document_highlight = true,
+ popup_border = "single",
+ on_attach_callback = nil,
+ on_init_callback = nil,
+ automatic_servers_installation = true,
+ null_ls = {
+ setup = {},
+ },
+}