diff options
author | Akshay <[email protected]> | 2020-07-22 03:34:08 +0100 |
---|---|---|
committer | Akshay <[email protected]> | 2020-07-22 03:34:08 +0100 |
commit | 51810b5c07e20982ebdf66f0bfb384c4bf55ad7d (patch) | |
tree | b5120bfc9b0ca72c9293afb9ed6e2e632a811deb /nvim/.config/nvim/after |
squash again
Diffstat (limited to 'nvim/.config/nvim/after')
-rw-r--r-- | nvim/.config/nvim/after/.netrwhist | 4 | ||||
-rw-r--r-- | nvim/.config/nvim/after/syntax/python.vim | 6 | ||||
-rw-r--r-- | nvim/.config/nvim/after/syntax/scheme.vim | 19 |
3 files changed, 29 insertions, 0 deletions
diff --git a/nvim/.config/nvim/after/.netrwhist b/nvim/.config/nvim/after/.netrwhist new file mode 100644 index 0000000..abf607f --- /dev/null +++ b/nvim/.config/nvim/after/.netrwhist | |||
@@ -0,0 +1,4 @@ | |||
1 | let g:netrw_dirhistmax =10 | ||
2 | let g:netrw_dirhistcnt =2 | ||
3 | let g:netrw_dirhist_2='/home/np/dotfiles/vim/.vim/plugin' | ||
4 | let g:netrw_dirhist_1='/home/np/code/rustuff/dijo/src' | ||
diff --git a/nvim/.config/nvim/after/syntax/python.vim b/nvim/.config/nvim/after/syntax/python.vim new file mode 100644 index 0000000..278cdc2 --- /dev/null +++ b/nvim/.config/nvim/after/syntax/python.vim | |||
@@ -0,0 +1,6 @@ | |||
1 | syntax keyword pyNiceLambda lambda conceal cchar=λ | ||
2 | highlight link pyNiceLambda secondAccent | ||
3 | |||
4 | highlight! link Conceal Noise | ||
5 | |||
6 | setlocal conceallevel=1 | ||
diff --git a/nvim/.config/nvim/after/syntax/scheme.vim b/nvim/.config/nvim/after/syntax/scheme.vim new file mode 100644 index 0000000..9a2972b --- /dev/null +++ b/nvim/.config/nvim/after/syntax/scheme.vim | |||
@@ -0,0 +1,19 @@ | |||
1 | syntax keyword scmNiceLambda lambda conceal cchar=λ | ||
2 | |||
3 | syntax clear schemeFunction | ||
4 | |||
5 | syntax match scmNiceOperator "<=" conceal cchar=≤ | ||
6 | syntax match scmNiceOperator ">=" conceal cchar=≥ | ||
7 | |||
8 | syn region scmNiceQuote matchgroup=secondAccent start=/'[`']*/ end=/[ \t\n()\[\]";]/me=e-1 | ||
9 | syn region scmNiceQuote matchgroup=secondAccent start=/'['`]*"/ skip=/\\[\\"]/ end=/"/ | ||
10 | syn region scmNiceQuote matchgroup=secondAccent start=/'['`]*|/ skip=/\\[\\|]/ end=/|/ | ||
11 | syn region scmNiceQuote matchgroup=secondAccent start=/'['`]*#\?(/ end=/)/ contains=ALLBUT,schemeQuasiquote,schemeQuasiquoteForm,schemeUnquote,schemeForm,schemeDatumCommentForm,schemeImport,@schemeImportCluster,@schemeSyntaxCluster | ||
12 | |||
13 | highlight link scmNiceLambda schemeSyntax | ||
14 | highlight link scmNiceOperator Noise | ||
15 | highlight link scmNiceQuote secondAccent | ||
16 | |||
17 | highlight! link Conceal Noise | ||
18 | |||
19 | setlocal conceallevel=1 | ||