From 804f57809b981649e79a0aea18b9c91749716561 Mon Sep 17 00:00:00 2001 From: Julian T Date: Tue, 17 Jan 2023 11:34:30 +0100 Subject: Treesitter, setwall changes, polybar time color, and better next in sxhkd --- vim-extra/.config/nvim/extra.vim | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'vim-extra') 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 + +" }}} -- cgit v1.2.3