Skip to content

Commit

Permalink
fix: migrate JoosepAlviste/nvim-ts-context-commentstring breaking change
Browse files Browse the repository at this point in the history
  • Loading branch information
ttys3 committed Nov 19, 2023
1 parent 1e33221 commit ce2cb23
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions lua/config/nvim-treesitter.lua
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@ require("nvim-treesitter.configs").setup {
rainbow = {
enable = false,
},
context_commentstring = {
enable = true,
},
}

-- fixup nvim-treesitter cause luochen1990/rainbow not working problem
Expand All @@ -38,6 +35,6 @@ require("nvim-treesitter.configs").setup {
-- hlmap["punctuation.bracket"] = nil

-- nomad
vim.treesitter.language.register('hcl', 'nomad') -- the nomad filetype will use the hcl parser and queries.
vim.treesitter.language.register('hcl', 'tf')
vim.treesitter.language.register('hcl', 'terraform')
vim.treesitter.language.register("hcl", "nomad") -- the nomad filetype will use the hcl parser and queries.
vim.treesitter.language.register("hcl", "tf")
vim.treesitter.language.register("hcl", "terraform")

0 comments on commit ce2cb23

Please sign in to comment.