update vim colors for TreeSitter
This commit is contained in:
parent
1114ddf947
commit
06a0ac7cc4
2 changed files with 8 additions and 6 deletions
|
|
@ -375,6 +375,10 @@ require 'nvim-treesitter.configs'.setup {
|
|||
-- Using this option may slow down your editor, and you may see some duplicate highlights.
|
||||
-- Instead of true it can also be a list of languages
|
||||
additional_vim_regex_highlighting = false,
|
||||
--custom_captures = {
|
||||
--["generic_type_param"] = "TSCGenericTypeParam",
|
||||
--["type_identifier"] = "TSCGenericTypeParam",
|
||||
--},
|
||||
},
|
||||
|
||||
indent = {
|
||||
|
|
@ -401,12 +405,6 @@ require 'nvim-treesitter.configs'.setup {
|
|||
}
|
||||
}
|
||||
|
||||
--require "nvim-treesitter.highlight".set_custom_captures {
|
||||
---- Highlight the @foo.bar capture group with the "Identifier" highlight group.
|
||||
---- ["foo.bar"] = "Identifier",
|
||||
--["generic_type_param"] = "TSCGenericTypeParam",
|
||||
--}
|
||||
|
||||
require "neogen".setup {}
|
||||
|
||||
require('leap').set_default_keymaps()
|
||||
|
|
|
|||
4
.vimrc
4
.vimrc
|
|
@ -1068,3 +1068,7 @@ function! s:denite_my_settings() abort
|
|||
endfunction
|
||||
|
||||
map <F10> :echo "hi<" . synIDattr(synID(line("."),col("."),1),"name") . '> trans<' . synIDattr(synID(line("."),col("."),0),"name") . "> lo<" . synIDattr(synIDtrans(synID(line("."),col("."),1)),"name") . ">"<CR>
|
||||
|
||||
" Final hi links for TreeSitter
|
||||
|
||||
hi link @type.rust TSCSecondaryTypeParam
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue