Compare commits

..

No commits in common. "0811ded1e10eee8e58b6178e4042162ef0374f13" and "cc2aee3b00e19fe0883bcb68623dd5f925542d2c" have entirely different histories.

3 changed files with 45 additions and 63 deletions

View File

@ -761,7 +761,7 @@ indent = { tab-width = 4, unit = "\t" }
[[grammar]] [[grammar]]
name = "gomod" name = "gomod"
source = { git = "https://github.com/camdencheek/tree-sitter-go-mod", rev = "6efb59652d30e0e9cd5f3b3a669afd6f1a926d3c" } source = { git = "https://github.com/camdencheek/tree-sitter-go-mod", rev = "e8f51f8e4363a3d9a427e8f63f4c1bbc5ef5d8d0" }
[[language]] [[language]]
name = "gotmpl" name = "gotmpl"
@ -887,7 +887,7 @@ source = { git = "https://github.com/tree-sitter/tree-sitter-typescript", rev =
name = "css" name = "css"
scope = "source.css" scope = "source.css"
injection-regex = "css" injection-regex = "css"
file-types = ["css"] file-types = ["css", "scss"]
block-comment-tokens = { start = "/*", end = "*/" } block-comment-tokens = { start = "/*", end = "*/" }
language-servers = [ "vscode-css-language-server" ] language-servers = [ "vscode-css-language-server" ]
auto-format = true auto-format = true

View File

@ -1,64 +1,47 @@
[(comment) (single_line_comment)] @comment [(comment) (single_line_comment)] @comment
[ "~" @operator
"~" ">" @operator
">" "+" @operator
"+" "-" @operator
"-" "*" @operator
"*" "/" @operator
"/" "=" @operator
"=" "^=" @operator
"^=" "|=" @operator
"|=" "~=" @operator
"~=" "$=" @operator
"$=" "*=" @operator
"*="
] @operator
[ "in" @operator
"in" "and" @operator
"and" "or" @operator
"or" "not" @operator
"not" "only" @operator
"only"
] @operator.control
[
"@apply"
"@at-root"
"@charset"
"@debug"
"@error"
"@extend"
"@keyframes"
"@media"
"@mixin"
"@supports"
"@warn"
] @constant.builtin
[
"@import"
"@include"
"@forward"
"@use"
] @keyword.control.import
[
"@if"
"@else"
] @keyword.control.conditional
[
"@each"
"@for"
"@while"
] @keyword.control.repeat
"@return" @keyword.control.return
"@apply" @constant.builtin
"@at-root" @constant.builtin
"@charset" @constant.builtin
"@debug" @constant.builtin
"@each" @keyword.control.repeat
"@else" @keyword.control.conditional
"@error" @constant.builtin
"@extend" @constant.builtin
"@for" @keyword.control.repeat
"@forward" @keyword.control.import
"@function" @function.method "@function" @function.method
"@if" @keyword.control.conditional
"@import" @keyword.control.import
"@include" @keyword.control.import
"@keyframes" @constant.builtin
"@media" @constant.builtin
"@mixin" @constant.builtin
"@namespace" @namespace "@namespace" @namespace
"@return" @keyword.control.return
"@supports" @constant.builtin
"@use" @keyword.control.import
"@warn" @constant.builtin
"@while" @keyword.control.repeat
(property_name) @variable.other.member (property_name) @variable.other.member
@ -75,11 +58,10 @@
(pseudo_class_selector) @attribute (pseudo_class_selector) @attribute
(identifier) @variable (identifier) @variable
(class_name) @label (class_name) @variable
(id_name) @label (id_name) @variable
(namespace_name) @namespace (namespace_name) @variable
(feature_name) @variable
(feature_name) @variable.other.member
(variable) @variable (variable) @variable
(variable_name) @variable.other.member (variable_name) @variable.other.member
(variable_value) @variable.other.member (variable_value) @variable.other.member

View File

@ -162,7 +162,7 @@
"ui.highlight" = { bg = "grey-300" } "ui.highlight" = { bg = "grey-300" }
"ui.picker.header" = { fg = "purple"} "ui.picker.header" = { fg = "purple"}
"ui.picker.header.column.active" = { fg = "blue"} "ui.picker.header.active" = { fg = "blue"}
"diagnostic.info" = { underline = { color = "blue", style = "dotted" } } "diagnostic.info" = { underline = { color = "blue", style = "dotted" } }
"diagnostic.hint" = { underline = { color = "green", style = "dashed" } } "diagnostic.hint" = { underline = { color = "green", style = "dashed" } }