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

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

View File

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

View File

@@ -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 <silent> <Space>t :<C-U>Vista!!<CR>
"}}
"{{ 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 <Nop>
omap s <Nop>
"}}
"{{ 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