Compare commits

..

3 commits

2 changed files with 26 additions and 1 deletions

View file

@ -366,6 +366,31 @@ endfun
hi! link @conditional Conditional
hi! link @method @function
hi! link @note @comment
"css
call s:C("@keyword.directive.css",g:cYellow,"","")
call s:C("@function.css",g:cGray1,"","")
call s:C("@tag.css",g:cYellow,"","")
call s:C("@property.css",g:cRed,"","bold")
call s:C("@variable.css",g:cBlue,"","bold")
call s:C("@number.css",g:cWhite,"","bold")
call s:C("@number.float.css",g:cWhite,"","bold")
call s:C("@type.css",g:cRed,"","bold")
call s:C("@punctuation.delimiter.css",g:cGray2,"","")
hi! link @punctuation.bracket.css @punctuation.delimiter.css
"scss
hi! link @keyword.directive.scss @keyword.directive.css
hi! link @function.scss @function.css
hi! link @tag.scss @tag.css
hi! link @property.scss @property.css
hi! link @variable.scss @variable.css
hi! link @variable.parameter.scss @variable.css
hi! link @number.scss @number.css
hi! link @number.float.scss @number.float.css
hi! link @type.scss @type.css
hi! link @punctuation.delimiter.scss @punctuation.delimiter.css
hi! link @punctuation.bracket.scss @punctuation.delimiter.css
endif
"}}}

View file

@ -10,7 +10,7 @@ if (vim.g.enabletreesitter == 1) then
vim.opt.runtimepath:append(parser_dir)
require("nvim-treesitter.configs").setup({
ensure_installed = { "bash", "c", "cpp", "git_config", "html", "java", "javascript", "json", "lua", "php", "python", "query", "rust", "toml", "typescript", "vim", "vue" },
ensure_installed = { "bash", "c", "cpp", "css", "git_config", "html", "java", "javascript", "json", "lua", "php", "python", "query", "rust", "toml", "typescript", "vim", "vue" },
sync_install = false,
auto_install = false,
parser_install_dir = parser_dir,