diff options
Diffstat (limited to 'ftplugin')
-rw-r--r-- | ftplugin/doxygen.vim | 2 | ||||
-rw-r--r-- | ftplugin/text.vim | 6 |
2 files changed, 8 insertions, 0 deletions
diff --git a/ftplugin/doxygen.vim b/ftplugin/doxygen.vim index dd2cdf2..7dcd7e5 100644 --- a/ftplugin/doxygen.vim +++ b/ftplugin/doxygen.vim | |||
@@ -1 +1,3 @@ | |||
1 | let g:load_doxygen_syntax=1 | 1 | let g:load_doxygen_syntax=1 |
2 | |||
3 | syntax match Normal /@copydoc/ conceal cchar=↺ | ||
diff --git a/ftplugin/text.vim b/ftplugin/text.vim index 226de51..2095ef5 100644 --- a/ftplugin/text.vim +++ b/ftplugin/text.vim | |||
@@ -1,2 +1,8 @@ | |||
1 | " highlight double words (its unlikely they are right) | 1 | " highlight double words (its unlikely they are right) |
2 | autocmd InsertLeave * syntax match Convention /\v<(\w+)\_s+\1>/ containedin=ALL | 2 | autocmd InsertLeave * syntax match Convention /\v<(\w+)\_s+\1>/ containedin=ALL |
3 | |||
4 | |||
5 | set autoindent nosmartindent nocindent | ||
6 | |||
7 | set formatoptions+=n " When formatting text, recognize numbered lists. | ||
8 | set formatoptions+=a " Automatic formatting of paragraphs. | ||