Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion src/lua/community.lua
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ return {
{ import = "astrocommunity.pack.go" },
{ import = "astrocommunity.pack.clojure" },
{ import = "astrocommunity.pack.bash" },
{ import = "astrocommunity.pack.docker" },
{ import = "astrocommunity.pack.markdown" },
{ import = "astrocommunity.pack.yaml" },
{ import = "astrocommunity.pack.elm" },
Expand Down
11 changes: 3 additions & 8 deletions src/lua/plugins/treesitter.lua
Original file line number Diff line number Diff line change
@@ -1,14 +1,9 @@
-- if true then return {} end -- WARN: REMOVE THIS LINE TO ACTIVATE THIS FILE

-- Customize Treesitter

---@type LazySpec
return {
"nvim-treesitter/nvim-treesitter",
opts = function(_, opts)
-- add more things to the ensure_installed table protecting against community packs modifying it
opts.ensure_installed = require("astrocore").list_insert_unique(opts.ensure_installed, {
-- add more arguments for adding more treesitter parsers
})
opts.highlight = opts.highlight or {}
opts.highlight.additional_vim_regex_highlighting =
require("astrocore").list_insert_unique(opts.highlight.additional_vim_regex_highlighting or {}, { "sql" })
end,
}