nvim: Modify indentation settings in ftplugin

This commit is contained in:
hedy 2023-01-18 21:53:28 +08:00
parent 09e6042879
commit ff8738aa29
Signed by: hedy
GPG Key ID: B51B5A8D1B176372
5 changed files with 12 additions and 11 deletions

View File

@ -3,14 +3,14 @@
" compiler fish
" set indent size
setlocal shiftwidth=4
setl shiftwidth=4
" Set this to have long lines wrap inside comments.
setlocal textwidth=79
setl textwidth=79
" Enable folding of block structures in fish.
setlocal foldmethod=expr
setl foldmethod=expr
" Use spaces please
setlocal expandtab
setlocal tabstop=4
setl expandtab
setl tabstop=4

View File

@ -1 +1 @@
setlocal noexpandtab
setl noexpandtab

View File

@ -1,3 +1,3 @@
setl tabstop=4
setl shiftwidth=4
setl softtabstop=4
setl tabstop=2
setl shiftwidth=2
setl softtabstop=2

View File

@ -0,0 +1 @@
setl textwidth=80

View File

@ -1,2 +1,2 @@
setlocal shiftwidth=2
setlocal tabstop=2
setl shiftwidth=2
setl tabstop=2