Skip to content

Commit

Permalink
Treesitter for everything
Browse files Browse the repository at this point in the history
  • Loading branch information
NonlinearFruit committed May 16, 2024
1 parent 4a8b6b5 commit c5c995f
Showing 1 changed file with 4 additions and 17 deletions.
21 changes: 4 additions & 17 deletions nvim/lua/plugins/treesitter.lua
Original file line number Diff line number Diff line change
@@ -1,23 +1,7 @@
local function configure()
require("nvim-treesitter.configs").setup({
-- A list of parser names, or "all"
ensure_installed = {
"bash",
"c_sharp",
"javascript",
"jq",
"json",
"latex",
"lua",
"markdown",
"markdown_inline",
"python",
"rust",
"toml",
"vim",
"vimdoc",
"yaml",
},
ensure_installed = "all",
highlight = {
enable = true,
},
Expand All @@ -28,4 +12,7 @@ return {
"nvim-treesitter/nvim-treesitter",
build = ":TSUpdate",
config = configure,
dependencies = {
{ "nushell/tree-sitter-nu" },
},
}

0 comments on commit c5c995f

Please sign in to comment.