nvim: Modify indentation settings in ftplugin
This commit is contained in:
parent
09e6042879
commit
ff8738aa29
|
@ -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
|
||||
|
|
|
@ -1 +1 @@
|
|||
setlocal noexpandtab
|
||||
setl noexpandtab
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
setl tabstop=4
|
||||
setl shiftwidth=4
|
||||
setl softtabstop=4
|
||||
setl tabstop=2
|
||||
setl shiftwidth=2
|
||||
setl softtabstop=2
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
setl textwidth=80
|
|
@ -1,2 +1,2 @@
|
|||
setlocal shiftwidth=2
|
||||
setlocal tabstop=2
|
||||
setl shiftwidth=2
|
||||
setl tabstop=2
|
||||
|
|
Loading…
Reference in New Issue