1
0
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:
jdhao
2021-08-07 02:44:57 +08:00
parent d434627738
commit 8dffa8bd23
9 changed files with 20 additions and 20 deletions

View File

@@ -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

View File

@@ -82,7 +82,7 @@ require('packer').startup(
-- Another grep tool (similar to Sublime Text Ctrl+Shift+F)
-- use 'dyng/ctrlsf.vim'
-- A greping tool
-- A grepping tool
-- use {'mhinz/vim-grepper', cmd = {'Grepper', '<plug>(GrepperOperator)'}}
-- A list of colorscheme plugin you may want to try. Find what suits you.
@@ -213,7 +213,7 @@ require('packer').startup(
-- carefully to use its full power
use 'wellle/targets.vim'
-- Plugin to manipulate characer pairs quickly
-- Plugin to manipulate character pairs quickly
-- use 'tpope/vim-surround'
use 'machakann/vim-sandwich'