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 --- core/autocommands.vim | 2 +- core/options.vim | 2 +- core/plugins.vim | 12 ++++++------ 3 files changed, 8 insertions(+), 8 deletions(-) (limited to 'core') diff --git a/core/autocommands.vim b/core/autocommands.vim index 2563ce7..8e9f8f2 100644 --- a/core/autocommands.vim +++ b/core/autocommands.vim @@ -92,6 +92,6 @@ endfunction augroup git_repo_check autocmd! - autocmd VimEnter,DirChanged * call utils#Inside_git_repo() + autocmd VimEnter,DirChanged * call utils#Inside_git_repo() augroup END "} diff --git a/core/options.vim b/core/options.vim index 0150c2e..44f728f 100644 --- a/core/options.vim +++ b/core/options.vim @@ -76,7 +76,7 @@ set fileformats=unix,dos " Fileformats to use for new files set inccommand=nosplit " Show the result of substitution in real time for preview -" Ignore certain files and folders when globbing +" Ignore certain files and folders when globing set wildignore+=*.o,*.obj,*.bin,*.dll,*.exe set wildignore+=*/.git/*,*/.svn/*,*/__pycache__/*,*/build/** set wildignore+=*.jpg,*.png,*.jpeg,*.bmp,*.gif,*.tiff,*.svg,*.ico diff --git a/core/plugins.vim b/core/plugins.vim index e29fee2..23fb842 100644 --- a/core/plugins.vim +++ b/core/plugins.vim @@ -36,10 +36,10 @@ let g:UltiSnipsSnippetDirectories=['UltiSnips', 'my_snippets'] "{{ Language specific plugin """""""""""""""""""""""""" semshi settings """"""""""""""""""""""""""""""" -" Do not highlight for all occurances of variable under cursor +" Do not highlight for all occurrences of variable under cursor let g:semshi#mark_selected_nodes=0 -" Do not show error sign since linting plugin is specicialized for that +" Do not show error sign since linting plugin is specialized for that let g:semshi#error_sign=v:false """""""""""""""""""""""""" vlime settings """""""""""""""""""""""""""""""" @@ -160,7 +160,7 @@ let g:vista_stay_on_open = 0 nnoremap t :Vista!! "}} -"{{ File editting +"{{ File editing """"""""""""""""""""""""vim-auto-save settings""""""""""""""""""""""" " Enable autosave on nvim startup let g:auto_save = 1 @@ -209,7 +209,7 @@ let g:better_escape_interval = 200 let g:XkbSwitchEnabled = 1 "}} -"{{ Linting and formating +"{{ Linting and formatting """""""""""""""""""""""""""""" neoformat settings """"""""""""""""""""""" let g:neoformat_enabled_python = ['black', 'yapf'] let g:neoformat_cpp_clangformat = { @@ -306,7 +306,7 @@ nmap s omap s "}} -"{{ LaTeX editting +"{{ LaTeX editing """"""""""""""""""""""""""""vimtex settings""""""""""""""""""""""""""""" if ( g:is_win || g:is_mac ) && executable('latex') function! SetServerName() abort @@ -427,7 +427,7 @@ let g:airline#extensions#hunks#non_zero_only = 1 " Speed up airline let g:airline_highlighting_cache = 1 -" The key in the following shortcode are the layout when we use a specific +" The keys in the following shortcode are the layout when we use a specific " input method mode. On my macOS, 0 means that we are trying to input Chinese, " and 1 means we are using English mode. " See also https://github.com/vim-airline/vim-airline/blob/master/autoload/airline/extensions/xkblayout.vim#L11 -- cgit v1.2.3