Skip to content

Commit

Permalink
fix: dynamic registration for some folks
Browse files Browse the repository at this point in the history
  • Loading branch information
willruggiano committed Sep 14, 2024
1 parent ea233e0 commit 846d254
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions plugins/lsp.lua
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,13 @@ return function()
}

local server_overrides = {
biome = {
capabilities = {
textDocument = {
onTypeFormatting = { dynamicRegistration = true },
},
},
},
clangd = {
capabilities = {
offsetEncoding = { "utf-16" },
Expand Down Expand Up @@ -330,9 +337,23 @@ return function()
},
},
},
prismals = {
capabilities = {
workspace = {
didChangeConfiguration = { dynamicRegistration = true },
},
},
},
relay_lsp = {
root_dir = util.root_pattern "relay.config.*",
},
sqruff = {
capabilities = {
textDocument = {
didSave = { dynamicRegistration = true },
},
},
},
tailwindcss = {
root_dir = util.root_pattern "tailwind.config.*",
},
Expand Down

0 comments on commit 846d254

Please sign in to comment.