summaryrefslogtreecommitdiff
path: root/vim-extra/.config/nvim
diff options
context:
space:
mode:
Diffstat (limited to 'vim-extra/.config/nvim')
-rw-r--r--vim-extra/.config/nvim/extra.vim20
1 files changed, 20 insertions, 0 deletions
diff --git a/vim-extra/.config/nvim/extra.vim b/vim-extra/.config/nvim/extra.vim
index 432c8bf..13f34f4 100644
--- a/vim-extra/.config/nvim/extra.vim
+++ b/vim-extra/.config/nvim/extra.vim
@@ -3,6 +3,8 @@
Plug 'neovim/nvim-lspconfig'
Plug 'Shougo/echodoc.vim'
+ Plug 'nvim-treesitter/nvim-treesitter', {'do': ':TSUpdate'}
+
Plug 'tpope/vim-surround'
Plug 'tpope/vim-repeat'
@@ -36,3 +38,21 @@
"}}}
+" Tree sitter {{{
+
+lua << EOF
+require'nvim-treesitter.configs'.setup {
+ ensure_installed = { "c", "lua", "vim", "rust", "help" },
+
+ auto_install = true,
+
+ highlight = {
+ enable = true,
+ },
+ incremental_selection = {
+ enable = true,
+ },
+}
+EOF
+
+" }}}