diff options
author | Julian T <julian@jtle.dk> | 2023-01-17 11:34:30 +0100 |
---|---|---|
committer | Julian T <julian@jtle.dk> | 2023-01-17 11:34:30 +0100 |
commit | 804f57809b981649e79a0aea18b9c91749716561 (patch) | |
tree | 33c9a2fabbe5c45e253ecee7eb633d15df43079a /vim-extra/.config/nvim/extra.vim | |
parent | 4839a8f401b482a9d2cb3478d04a00bc5b93e1d2 (diff) |
Treesitter, setwall changes, polybar time color, and better next in sxhkd
Diffstat (limited to 'vim-extra/.config/nvim/extra.vim')
-rw-r--r-- | vim-extra/.config/nvim/extra.vim | 20 |
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 + +" }}} |