summaryrefslogtreecommitdiffstats
path: root/.config/nvim/plugin/50-lsp.lua
diff options
context:
space:
mode:
authorThomas Vanbesien <tvanbesi@proton.me>2026-06-12 17:02:54 +0200
committerThomas Vanbesien <tvanbesi@proton.me>2026-06-12 22:57:34 +0200
commit1734929edd6ceb47fcee53cb9d0a408b41dea14a (patch)
tree2bd06885ddd5f91656dfb7851ddb3446e6a2ca74 /.config/nvim/plugin/50-lsp.lua
parentc3c0fe51524d0e7bbc2d93fb9ee0127db691287a (diff)
downloaddotfiles-1734929edd6ceb47fcee53cb9d0a408b41dea14a.tar.gz
dotfiles-1734929edd6ceb47fcee53cb9d0a408b41dea14a.zip
misc(nvim): reformat lua files to 100 char line width
Diffstat (limited to '.config/nvim/plugin/50-lsp.lua')
-rw-r--r--.config/nvim/plugin/50-lsp.lua10
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,
})