mirror of
https://github.com/Misterio77/Foundry.git
synced 2026-09-24 07:15:07 -05:00
nvim: use treesitter folding
This commit is contained in:
@@ -16,8 +16,6 @@ in
|
||||
set autoread
|
||||
au CursorHold,CursorHoldI * checktime
|
||||
|
||||
"Folding
|
||||
set foldmethod=syntax
|
||||
"Set fold level to highest in file
|
||||
"so everything starts out unfolded at just the right level
|
||||
autocmd BufWinEnter * let &foldlevel = max(map(range(1, line('$')), 'foldlevel(v:val)'))
|
||||
|
||||
@@ -1,9 +1,6 @@
|
||||
{ pkgs, ... }: {
|
||||
programs.neovim.plugins = with pkgs.vimPlugins; [
|
||||
{
|
||||
plugin = rust-vim;
|
||||
config = "let g:rust_fold = 1";
|
||||
}
|
||||
rust-vim
|
||||
dart-vim-plugin
|
||||
plantuml-syntax
|
||||
vim-markdown
|
||||
|
||||
Reference in New Issue
Block a user