mirror of
https://github.com/jdhao/nvim-config.git
synced 2025-06-08 14:14:33 +02:00
chore: formatting and fix spell errors
This commit is contained in:
@@ -37,7 +37,7 @@ local on_attach = function(client, bufnr)
|
||||
autocmd CursorHold <buffer> lua require('config.lsp').show_line_diagnostics()
|
||||
]]
|
||||
|
||||
-- Set some keybinds conditional on server capabilities
|
||||
-- Set some key bindings conditional on server capabilities
|
||||
if client.resolved_capabilities.document_formatting then
|
||||
buf_set_keymap("n", "<space>f", "<cmd>lua vim.lsp.buf.formatting()<CR>", opts)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user