From 8dffa8bd23606cb72831bdd22f00b41e3bce8d30 Mon Sep 17 00:00:00 2001 From: jdhao Date: Sat, 7 Aug 2021 02:44:57 +0800 Subject: chore: formatting and fix spell errors --- lua/config/lsp.lua | 2 +- lua/plugins.lua | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'lua') 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 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", "f", "lua vim.lsp.buf.formatting()", opts) end diff --git a/lua/plugins.lua b/lua/plugins.lua index 7daf987..437754e 100644 --- a/lua/plugins.lua +++ b/lua/plugins.lua @@ -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', '(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' -- cgit v1.2.3