diff options
Diffstat (limited to '.config/nvim/plugin/50-lsp.lua')
| -rw-r--r-- | .config/nvim/plugin/50-lsp.lua | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/.config/nvim/plugin/50-lsp.lua b/.config/nvim/plugin/50-lsp.lua index 215dfcb..41229e5 100644 --- a/.config/nvim/plugin/50-lsp.lua +++ b/.config/nvim/plugin/50-lsp.lua @@ -22,12 +22,18 @@ vim.api.nvim_create_autocmd("LspAttach", { if client:supports_method("textDocument/completion") then vim.lsp.completion.enable(true, client.id, ev.buf, { autotrigger = true }) else - vim.notify("Client " .. client.name .. " does not support completion", vim.log.levels.WARN) + vim.notify( + "Client " .. client.name .. " does not support completion", + vim.log.levels.WARN + ) end if client:supports_method("textDocument/inlayHint") then vim.lsp.inlay_hint.enable(true, { bufnr = 0 }) else - vim.notify("Client " .. client.name .. " does not support inlay hints", vim.log.levels.WARN) + vim.notify( + "Client " .. client.name .. " does not support inlay hints", + vim.log.levels.WARN + ) end end, }) |
