mirror of
https://github.com/jdhao/nvim-config.git
synced 2025-06-08 14:14:33 +02:00
Make my own settings have the final say on how a filetype should behave, instead of some 3rd party plugins.
10 lines
342 B
VimL
10 lines
342 B
VimL
set tabstop=2 " number of visual spaces per TAB
|
|
set softtabstop=2 " number of spaces in tab when editing
|
|
set shiftwidth=2 " number of spaces to use for autoindent
|
|
set expandtab " expand tab to spaces so that tabs are spaces
|
|
|
|
" Turn off syntax highlighting for large YAML files.
|
|
if line('$') > 500
|
|
setlocal syntax=OFF
|
|
endif
|