diff options
author | Max Christian Pohle | 2022-12-18 20:29:55 +0100 |
---|---|---|
committer | Max Christian Pohle | 2022-12-18 20:56:01 +0100 |
commit | 07797b39851da045aa1bfd0289de0858a1377c48 (patch) | |
tree | 4ca5d2b26d2ca9d01fc052fce5a26f88364a53d0 /ftplugin | |
parent | 1086af63639d2a108f39ae077e0e201dddf4f523 (diff) | |
download | vim-07797b39851da045aa1bfd0289de0858a1377c48.tar.bz2 vim-07797b39851da045aa1bfd0289de0858a1377c48.zip |
Switched to nvim and neovide
Diffstat (limited to 'ftplugin')
-rw-r--r-- | ftplugin/c.vim | 18 | ||||
-rw-r--r-- | ftplugin/coffee.vim | 1 | ||||
-rw-r--r-- | ftplugin/doxygen.vim | 3 | ||||
-rw-r--r-- | ftplugin/help.vim | 3 | ||||
-rw-r--r-- | ftplugin/java.vim | 2 | ||||
-rw-r--r-- | ftplugin/nerdtree.vim | 1 | ||||
-rw-r--r-- | ftplugin/python.vim | 1 | ||||
-rw-r--r-- | ftplugin/text.vim | 21 |
8 files changed, 0 insertions, 50 deletions
diff --git a/ftplugin/c.vim b/ftplugin/c.vim deleted file mode 100644 index 6bd8e83..0000000 --- a/ftplugin/c.vim +++ /dev/null | |||
@@ -1,18 +0,0 @@ | |||
1 | setlocal equalprg=clang-format | ||
2 | setlocal breakat-=- | ||
3 | setlocal keywordprg=man\ 3 | ||
4 | |||
5 | setlocal makeprg=make\ %:r | ||
6 | |||
7 | setlocal cindent cinoptions+=(0 | " indent at parentheses | ||
8 | |||
9 | " map <buffer> = :pyfile /usr/share/clang/clang-format.py<CR> | ||
10 | |||
11 | |||
12 | let c_space_errors=1 | ||
13 | let c_gnu=1 | ||
14 | |||
15 | |||
16 | hi! cConstant gui=italic | ||
17 | hi! cConditional gui=italic | ||
18 | hi! cInclude gui=italic | ||
diff --git a/ftplugin/coffee.vim b/ftplugin/coffee.vim deleted file mode 100644 index 5d5675c..0000000 --- a/ftplugin/coffee.vim +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | let coffee_indent_keep_current = 1 " avoid problems with html indentation | ||
diff --git a/ftplugin/doxygen.vim b/ftplugin/doxygen.vim deleted file mode 100644 index 7dcd7e5..0000000 --- a/ftplugin/doxygen.vim +++ /dev/null | |||
@@ -1,3 +0,0 @@ | |||
1 | let g:load_doxygen_syntax=1 | ||
2 | |||
3 | syntax match Normal /@copydoc/ conceal cchar=↺ | ||
diff --git a/ftplugin/help.vim b/ftplugin/help.vim deleted file mode 100644 index e2eb971..0000000 --- a/ftplugin/help.vim +++ /dev/null | |||
@@ -1,3 +0,0 @@ | |||
1 | " I will never get used to press CTRL-] to follow a link, never! | ||
2 | nnoremap <buffer> <CR> <C-]> | ||
3 | nnoremap <buffer> <BS> <C-T> | ||
diff --git a/ftplugin/java.vim b/ftplugin/java.vim deleted file mode 100644 index 7da3e00..0000000 --- a/ftplugin/java.vim +++ /dev/null | |||
@@ -1,2 +0,0 @@ | |||
1 | set makeprg=javac\ -Xdiags:verbose\ % | ||
2 | set errorformat=%A%f:%l:\ %m,%-Z%p^,%-C%.%# | ||
diff --git a/ftplugin/nerdtree.vim b/ftplugin/nerdtree.vim deleted file mode 100644 index 62f5e5b..0000000 --- a/ftplugin/nerdtree.vim +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | autocmd! WinNew,WinEnter,WinLeave * if exists("t:NERDTreeBufName") && bufwinnr(t:NERDTreeBufName) == bufwinnr('%') | setlocal statusline=NERDTree | endif | ||
diff --git a/ftplugin/python.vim b/ftplugin/python.vim deleted file mode 100644 index 1268957..0000000 --- a/ftplugin/python.vim +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | let &path=system('python -c "import sys; print(\",\".join(sys.path))"') | ||
diff --git a/ftplugin/text.vim b/ftplugin/text.vim deleted file mode 100644 index 9097834..0000000 --- a/ftplugin/text.vim +++ /dev/null | |||
@@ -1,21 +0,0 @@ | |||
1 | " highlight double words (its unlikely they are right) | ||
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+=1 " do not break after a one letter word | ||
9 | " set formatoptions+=p " Don't break lines at single spaces that follow periods. | ||
10 | |||
11 | set formatoptions+=aw " Automatic formatting of paragraphs (w=only if space in the end) | ||
12 | |||
13 | |||
14 | set noexpandtab | ||
15 | set spell | ||
16 | set complete+=kspell | ||
17 | |||
18 | inoremap <C-Space> <C-n> | ||
19 | |||
20 | " nnoremap <c-s> :normal <c-n> | ||
21 | " autocmd CursorHoldI * normal <c-x>s | ||