aboutsummaryrefslogtreecommitdiff
path: root/vimrc
diff options
context:
space:
mode:
authorMax Christian Pohle2023-10-21 02:32:31 +0200
committerMax Christian Pohle2023-10-21 02:32:31 +0200
commit66f713050c69bf88706d8d17ed2e32c73b12ee57 (patch)
tree35976b23f2e9afd7b0c6aca389117b12ef6dfb5d /vimrc
parent3efb1546b256c620da3ea70c8c717e55cce0b3b2 (diff)
downloadvim-66f713050c69bf88706d8d17ed2e32c73b12ee57.tar.bz2
vim-66f713050c69bf88706d8d17ed2e32c73b12ee57.zip
Improved code folding, because tree-sitter broke it
Diffstat (limited to 'vimrc')
-rw-r--r--vimrc30
1 files changed, 12 insertions, 18 deletions
diff --git a/vimrc b/vimrc
index 4a81724..424f5f0 100644
--- a/vimrc
+++ b/vimrc
@@ -1,12 +1,19 @@
1exec ':source '.fnamemodify($MYVIMRC,':h').'/'.'vimrc-common' 1exec ':source '.fnamemodify($MYVIMRC,':h').'/'.'vimrc-common'
2set packpath+=pack/submodules 2set packpath+=pack/submodules
3 3
4set isfname-== 4if has("nvim")
5set modeline 5 set shadafile="/tmp/shada"
6 6endif
7set signcolumn=yes
8set foldcolumn=1
9 7
8if exists("g:neovide")
9 " neovide specific
10 set guifont=monospace:h11:b
11 " :#e-subpixelantialias:#h-full
12 let g:neovide_cursor_animation_length=0.03
13 let g:neovide_cursor_trail_size=0.8
14 let g:neovide_scroll_animation_length = 0.05
15 let g:neovide_transparency = 0.9
16endif
10 17
11" if ($XDG_SESSION_TYPE ==# 'wayland' || ! empty($WAYLAND_DISPLAY)) 18" if ($XDG_SESSION_TYPE ==# 'wayland' || ! empty($WAYLAND_DISPLAY))
12" autocmd TextYankPost * call system("wl-copy", get(v:event, 'regcontents')) 19" autocmd TextYankPost * call system("wl-copy", get(v:event, 'regcontents'))
@@ -14,19 +21,6 @@ set foldcolumn=1
14" nnoremap P :silent put! =system('wl-paste')<CR> 21" nnoremap P :silent put! =system('wl-paste')<CR>
15" endif 22" endif
16 23
17
18if has("nvim")
19 set shadafile="/tmp/shada"
20endif
21
22" neovide specific
23set guifont=monospace:h11:b
24" :#e-subpixelantialias:#h-full
25let g:neovide_cursor_animation_length=0.03
26let g:neovide_cursor_trail_size=0.8
27let g:neovide_scroll_animation_length = 0.05
28let g:neovide_transparency = 0.9
29
30" scripts from the default vim installation, which do not get loaded by default, but are useful. 24" scripts from the default vim installation, which do not get loaded by default, but are useful.
31" if filereadable($VIMRUNTIME.'/macros/editexisting.vim') 25" if filereadable($VIMRUNTIME.'/macros/editexisting.vim')
32" packadd! editexisting 26" packadd! editexisting
..