diff options
| author | jdhao <jdhao@hotmail.com> | 2021-08-07 02:44:57 +0800 |
|---|---|---|
| committer | jdhao <jdhao@hotmail.com> | 2021-08-07 03:15:22 +0800 |
| commit | 8dffa8bd23606cb72831bdd22f00b41e3bce8d30 (patch) | |
| tree | c48f4494804664ab04219a60ef67ff346d541422 /lua/config/lsp.lua | |
| parent | d434627738c59473530d807cb645df6deb4c8e80 (diff) | |
chore: formatting and fix spell errors
Diffstat (limited to 'lua/config/lsp.lua')
| -rw-r--r-- | lua/config/lsp.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/config/lsp.lua b/lua/config/lsp.lua index 156566c..eae789f 100644 --- a/lua/config/lsp.lua +++ b/lua/config/lsp.lua @@ -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 |
