diff options
| -rw-r--r-- | home/nvim/lsp.lua | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/home/nvim/lsp.lua b/home/nvim/lsp.lua index 15d463d..2b8a730 100644 --- a/home/nvim/lsp.lua +++ b/home/nvim/lsp.lua @@ -31,23 +31,23 @@ local capabilities = vim.lsp.protocol.make_client_capabilities() capabilities = vim.tbl_deep_extend("force", capabilities, { textDocument = { inlayHint = { - dynamicRegistration = false, -- Static registration + dynamicRegistration = true, resolveSupport = { properties = { "textEdits", "tooltip", "label" }, -- Resolve additional hint details }, }, synchronization = { - dynamicRegistration = false, -- Static registration - willSave = true, -- Notify server before saving + dynamicRegistration = true, + willSave = true, -- Notify server before saving willSaveWaitUntil = true, -- Allow server to provide edits before saving - didSave = true, -- Notify server after saving + didSave = true, -- Notify server after saving }, hover = { - dynamicRegistration = false, -- Static registration + dynamicRegistration = true, contentFormat = { "markdown", "plaintext" }, -- Prefer markdown, fallback to plaintext }, documentSymbol = { - dynamicRegistration = false, -- Static registration + dynamicRegistration = true, hierarchicalDocumentSymbolSupport = true, -- Support nested symbols symbolKind = { valueSet = { @@ -81,7 +81,7 @@ capabilities = vim.tbl_deep_extend("force", capabilities, { augmentsSyntaxTokens = true, }, foldingRange = { - dynamicRegistration = false, + dynamicRegistration = true, lineFoldingOnly = true, }, }, @@ -98,7 +98,7 @@ capabilities = vim.tbl_deep_extend("force", capabilities, { didCreate = true, }, symbol = { - dynamicRegistration = false, -- Static registration + dynamicRegistration = true, symbolKind = { valueSet = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, @@ -260,7 +260,7 @@ vim.lsp.config("biome", { capabilities = { textDocument = { formatting = { - dynamicRegistration = false, + dynamicRegistration = true, }, }, }, |
