diff options
author | Ekaitz Zarraga <ekaitz@elenq.tech> | 2025-08-17 01:10:21 +0200 |
---|---|---|
committer | Ekaitz Zarraga <ekaitz@elenq.tech> | 2025-08-17 01:10:21 +0200 |
commit | a959d8b669477379dd8c78b9e2dfaa95ece08d5e (patch) | |
tree | 5fddb383c91279d9a9501f6abeeb683696a89f0a /nvim | |
parent | 248fc8b7fe3ab4ccd3ca3283fab9862704bbcea4 (diff) |
nvim: ftplugin: C: GNU Style support
Diffstat (limited to 'nvim')
-rw-r--r-- | nvim/nvim/ftplugin/c.vim | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/nvim/nvim/ftplugin/c.vim b/nvim/nvim/ftplugin/c.vim new file mode 100644 index 0000000..19a20cc --- /dev/null +++ b/nvim/nvim/ftplugin/c.vim @@ -0,0 +1,7 @@ +" GNU Coding standards +setlocal cindent +setlocal cinoptions=>2s,n-1s,{1s,^-1s,:1s,=1s,g0,h1s,p2s,t0,+1s,(0,u0,w1,m1 +setlocal shiftwidth=2 +setlocal softtabstop=2 +setlocal textwidth=79 +setlocal formatoptions-=ro formatoptions+=cql |