diff options
author | Max Christian Pohle | 2018-10-04 21:35:05 +0200 |
---|---|---|
committer | Max Christian Pohle | 2018-10-04 21:35:05 +0200 |
commit | c2808a2053fa4d382a1ad7edc9637951c9eefc55 (patch) | |
tree | 7420b4501fe7c7feed16ae2dda360619d000144c /after | |
parent | 1e3c2a1174da4ef32d18865181317f4ecff7e194 (diff) | |
download | vim-karlmarks-c2808a2053fa4d382a1ad7edc9637951c9eefc55.tar.bz2 vim-karlmarks-c2808a2053fa4d382a1ad7edc9637951c9eefc55.zip |
Minor refactoring
- beautification of the vertical bar
- removed Vim Minimap plugin
- GIT shows recently changed files in the quickfix list instead of the
location list
Diffstat (limited to 'after')
-rw-r--r-- | after/syntax/c.vim | 10 | ||||
l--------- | after/syntax/cpp.vim | 1 |
2 files changed, 8 insertions, 3 deletions
diff --git a/after/syntax/c.vim b/after/syntax/c.vim index f4b1de9..49e96f0 100644 --- a/after/syntax/c.vim +++ b/after/syntax/c.vim | |||
@@ -1,6 +1,10 @@ | |||
1 | set number | 1 | setlocal number |
2 | set foldenable | 2 | setlocal foldenable |
3 | set foldmethod=syntax | 3 | setlocal foldmethod=expr |
4 | setlocal foldcolumn=0 | ||
5 | |||
6 | " setlocal foldexpr=get(synstack(v:lnum,1),0)==hlID('cComment') | ||
7 | setlocal foldexpr=index([0,hlID('cComment'),hlID('Comment')],get(synstack(v:lnum,1),0)) | ||
4 | 8 | ||
5 | " syntax match cType "struct\s+[A-Za-z0-9_]+\>" | 9 | " syntax match cType "struct\s+[A-Za-z0-9_]+\>" |
6 | " syn clear cStructure | 10 | " syn clear cStructure |
diff --git a/after/syntax/cpp.vim b/after/syntax/cpp.vim new file mode 120000 index 0000000..64e3fd4 --- /dev/null +++ b/after/syntax/cpp.vim | |||
@@ -0,0 +1 @@ | |||
c.vim \ No newline at end of file | |||