summaryrefslogtreecommitdiff
path: root/lua/lsp/config.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/lsp/config.lua')
-rw-r--r--lua/lsp/config.lua27
1 files changed, 27 insertions, 0 deletions
diff --git a/lua/lsp/config.lua b/lua/lsp/config.lua
new file mode 100644
index 00000000..146301c9
--- /dev/null
+++ b/lua/lsp/config.lua
@@ -0,0 +1,27 @@
+return {
+ templates_dir = join_paths(get_runtime_dir(), "site", "after", "ftplugin"),
+ diagnostics = {
+ signs = {
+ active = true,
+ values = {
+ { name = "LspDiagnosticsSignError", text = "ï™™" },
+ { name = "LspDiagnosticsSignWarning", text = "" },
+ { name = "LspDiagnosticsSignHint", text = "ï µ" },
+ { name = "LspDiagnosticsSignInformation", text = "" },
+ },
+ },
+ virtual_text = {
+ prefix = "ï„‘",
+ spacing = 0,
+ },
+ 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,
+}