diff options
Diffstat (limited to '')
| -rw-r--r-- | .vim/lua/plugins.lua | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/.vim/lua/plugins.lua b/.vim/lua/plugins.lua index 9560d98..6f7be9b 100644 --- a/.vim/lua/plugins.lua +++ b/.vim/lua/plugins.lua @@ -117,7 +117,7 @@ return require('packer').startup({function() vim.fn.sign_define('LightBulbSign', {text="⚐", texthl="LightBulbVirtualText"}) - require('utils').augroup2 { + augroup { lightbulb = { {'CursorHold', '*', "lua require('nvim-lightbulb').update_lightbulb()"} } @@ -167,6 +167,10 @@ return require('packer').startup({function() }, }, } + + augroup { + treesitter = {{ 'FileType', '*', [[ set foldmethod=expr foldexpr=nvim_treesitter#foldexpr() ]] }} + } end} -- }}} use {'hrsh7th/nvim-compe', -- {{{ @@ -309,7 +313,7 @@ return require('packer').startup({function() use {'editorconfig/editorconfig-vim', -- {{{ config = function() - require('utils').augroup2 { + augroup { editorconfig = { { 'FileType', 'gitcommit', 'let b:EditorConfig_disable = 1' }, } @@ -491,7 +495,7 @@ return require('packer').startup({function() use {'mhinz/vim-startify', -- {{{ config = function() - require('utils').augroup2 { + augroup { startify = {{ 'FileType', 'startify', [[ IndentBlanklineDisable ]] }} } end} -- }}} |