aboutsummaryrefslogtreecommitdiff
path: root/after/syntax
diff options
context:
space:
mode:
authorMax Christian Pohle2018-10-04 21:35:05 +0200
committerMax Christian Pohle2018-10-04 21:35:05 +0200
commitc2808a2053fa4d382a1ad7edc9637951c9eefc55 (patch)
tree7420b4501fe7c7feed16ae2dda360619d000144c /after/syntax
parent1e3c2a1174da4ef32d18865181317f4ecff7e194 (diff)
downloadvim-c2808a2053fa4d382a1ad7edc9637951c9eefc55.tar.bz2
vim-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/syntax')
-rw-r--r--after/syntax/c.vim10
l---------after/syntax/cpp.vim1
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 @@
1set number 1setlocal number
2set foldenable 2setlocal foldenable
3set foldmethod=syntax 3setlocal foldmethod=expr
4setlocal foldcolumn=0
5
6" setlocal foldexpr=get(synstack(v:lnum,1),0)==hlID('cComment')
7setlocal 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
..