Skip to content

Commit

Permalink
Fix neovim json and yaml spacing
Browse files Browse the repository at this point in the history
Signed-off-by: Stephen Hoekstra <[email protected]>
  • Loading branch information
shoekstra committed Jan 2, 2022
1 parent bf3b092 commit 094f546
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions files/neovim/nvimrc
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ set showmatch " Show matching brackets/parenthesis
set scrolloff=5 " Show at least 5 lines above or below the cursor
syntax enable " Enable syntax highlighting

autocmd FileType json setlocal ts=2 sts=2 sw=2 expandtab
autocmd FileType yaml setlocal ts=2 sts=2 sw=2 expandtab

" More intuitive arrow mappings for wildmenu
" https://vi.stackexchange.com/questions/22627/switching-arrow-key-mappings-for-wildmenu-tab-completion
set wildcharm=<C-Z>
Expand Down

0 comments on commit 094f546

Please sign in to comment.