chores(all): format

This commit is contained in:
2024-11-10 15:38:47 +01:00
parent 6851e16bcf
commit 8f04c0e04c
9 changed files with 42 additions and 40 deletions

View File

@ -16,7 +16,7 @@ local on_attach = function(_, bufnr)
nmap('<leader>rn', vim.lsp.buf.rename, '[R]e[n]ame')
nmap('<leader>c', vim.lsp.buf.code_action, '[C]ode action') -- NOTE: to see if ca is needed
nmap('<leader>f', function() -- https://stackoverflow.com/a/74303272
nmap('<leader>f', function() -- https://stackoverflow.com/a/74303272
vim.lsp.buf.code_action({
filter = function(a)
return a.isPreferred