From c0314e934983cf7fd6bec11a66a037a4268a89d6 Mon Sep 17 00:00:00 2001 From: Dan Anglin Date: Sat, 26 Mar 2022 20:02:55 +0000 Subject: [PATCH] feat: basic treesitter configuration --- neovim/after/plugin/plugins.lua | 3 +-- neovim/after/plugin/treesitter.lua | 13 +++++++++++++ 2 files changed, 14 insertions(+), 2 deletions(-) create mode 100644 neovim/after/plugin/treesitter.lua diff --git a/neovim/after/plugin/plugins.lua b/neovim/after/plugin/plugins.lua index 923fae4..33842b7 100644 --- a/neovim/after/plugin/plugins.lua +++ b/neovim/after/plugin/plugins.lua @@ -3,7 +3,6 @@ return require("packer").startup(function(use) use "wbthomason/packer.nvim" use "folke/tokyonight.nvim" - use "rafamadriz/neon" - use "navarasu/onedark.nvim" use "neovim/nvim-lspconfig" + use { "nvim-treesitter/nvim-treesitter", run = ":TSUpdate" } end) diff --git a/neovim/after/plugin/treesitter.lua b/neovim/after/plugin/treesitter.lua new file mode 100644 index 0000000..1b23a36 --- /dev/null +++ b/neovim/after/plugin/treesitter.lua @@ -0,0 +1,13 @@ +require("nvim-treesitter.configs").setup { + ensure_installed = { + "bash", + "go", + "lua", + "python", + }, + + highlight = { + enable = true, + additional_vim_regex_highlighting = false, + }, +}