Skip to content

Commit

Permalink
fix: use scss grammar fork
Browse files Browse the repository at this point in the history
Placeholder selectors currently are not supported. Can be removed once
serenadeai/tree-sitter-scss#19 gets merged.
  • Loading branch information
TymekDev committed Jan 10, 2024
1 parent 58fe848 commit cb17524
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions config/nvim/lua/tymek/plugins.lua
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,11 @@ return {
{
"nvim-treesitter/nvim-treesitter",
config = function()
-- TODO: Delete once https://github.com/serenadeai/tree-sitter-scss/pull/19 gets merged
local parser_configs = require("nvim-treesitter.parsers").get_parser_configs()
parser_configs.scss.install_info.url = "https://github.com/goncharov/tree-sitter-scss"
parser_configs.scss.install_info.revision = "30c9dc19d3292fa8d1134373f0f0abd8547076e8"

require("nvim-treesitter.configs").setup({
auto_install = true,
highlight = { enable = true },
Expand Down

0 comments on commit cb17524

Please sign in to comment.