From e6ca326ba7521d2a4189b40f934a6dcb8b4d47b4 Mon Sep 17 00:00:00 2001 From: Michael Welford Date: Sat, 30 Oct 2021 16:03:30 +1030 Subject: [PATCH] Tweak tree sitter a little bit. --- autoload/airline/themes/falcon.vim | 2 +- colors/falcon.vim | 7 ++++--- estilo/syntax/treesitter.yml | 3 ++- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/autoload/airline/themes/falcon.vim b/autoload/airline/themes/falcon.vim index 92f24c6..0492a62 100644 --- a/autoload/airline/themes/falcon.vim +++ b/autoload/airline/themes/falcon.vim @@ -4,7 +4,7 @@ " URL:https://github.com/fenetikm/falcon " Author: Michael Welford " License: MIT -" Last Change: 2021/10/30 15:13 +" Last Change: 2021/10/30 16:02 " ============================================================ let g:airline#themes#falcon#palette = {} diff --git a/colors/falcon.vim b/colors/falcon.vim index c79a027..4092423 100644 --- a/colors/falcon.vim +++ b/colors/falcon.vim @@ -4,7 +4,7 @@ " URL: https://github.com/fenetikm/falcon " Author: Michael Welford " License: MIT -" Last Change: 2021/10/30 15:13 +" Last Change: 2021/10/30 16:02 " =============================================================== set background=dark @@ -350,7 +350,7 @@ hi NotifyWARNTitle guifg=#FFC552 ctermfg=221 guibg=NONE ctermbg=NONE gui=NONE ct hi NotifyINFOTitle guifg=#859933 ctermfg=101 guibg=NONE ctermbg=NONE gui=NONE cterm=NONE hi NotifyDEBUGTitle guifg=#DFDFE5 ctermfg=254 guibg=NONE ctermbg=NONE gui=NONE cterm=NONE hi NotifyTRACETitle guifg=#cfc1b2 ctermfg=181 guibg=NONE ctermbg=NONE gui=NONE cterm=NONE -hi NotifyERRORBody guifg=#B4B4B9 ctermfg=249 guibg=#020221 ctermbg=0 gui=NONE cterm=NONE +hi link NotifyERRORBody Normal hi link NotifyWARNBody Normal hi link NotifyINFOBody Normal hi link NotifyDEBUGBody Normal @@ -492,13 +492,14 @@ hi link TSKeyword Keyword hi link TSVariable Identifier hi TSMethod guifg=#B4B4B9 ctermfg=249 guibg=NONE ctermbg=NONE gui=NONE cterm=NONE hi link TSVariableBuiltin Type -hi link TSFunction Keyword +hi link TSFunction Function hi link TSOperator Operator hi TSConstructor guifg=#B4B4B9 ctermfg=249 guibg=NONE ctermbg=NONE gui=Bold cterm=Bold hi link TSException Keyword hi link TSConstant Constant hi link TSConstBuiltin Boolean hi TSError guifg=#FFC552 ctermfg=221 guibg=NONE ctermbg=NONE gui=NONE cterm=NONE +hi TSKeywordFunction guifg=#cfc1b2 ctermfg=181 guibg=NONE ctermbg=NONE gui=NONE cterm=NONE hi link twigVarDelim Delimiter hi link twigTagDelim Delimiter hi twigString guifg=#DFDFE5 ctermfg=254 guibg=NONE ctermbg=NONE gui=NONE cterm=NONE diff --git a/estilo/syntax/treesitter.yml b/estilo/syntax/treesitter.yml index 3150807..d0541aa 100644 --- a/estilo/syntax/treesitter.yml +++ b/estilo/syntax/treesitter.yml @@ -2,10 +2,11 @@ TSKeyword: '@Keyword' TSVariable: '@Identifier' TSMethod: 'normal_gray' TSVariableBuiltin: '@Type' -TSFunction: '@Keyword' +TSFunction: '@Function' TSOperator: '@Operator' TSConstructor: 'normal_gray - b' TSException: '@Keyword' TSConstant: '@Constant' TSConstBuiltin: '@Boolean' TSError: 'yellow' +TSKeywordFunction: 'tan'