2
votes
Accepted
How to get the highlight group of the word under the cursor in Neovim with Treesitter installed?
From 'nvim-treesitter/playground', there is the command
:TSHighlightCapturesUnderCursor
which does exactly this, presenting a nice popup at your cursor location. It works similarly to
:...
- 146
1
vote
How can I remove inverted background colors with Dracula colorscheme?
Dracula maintainer here. We have a number of similar issues on the GitHub repository.
In nearly all cases, the solution is to :let g:dracula_italic = 0 prior to loading the colorscheme (why? your ...
- 23.4k
1
vote
Accepted
Use regex pattern as argument to function
I would suggest to use a string for that:
autocmd BufReadPost * call TextEnableCodeSnip('bash', '^hello', '^world", 'SpecialComment')
function! TextEnableCodeSnip(filetype,start,end,textSnipHl) ...
- 6,230
1
vote
Accepted
How to set the ALE configuration `g:ale_exclude_highlights`?
I'm not sure it applies to lines (see this ALE issue).
I suppose the best is to configure the underlying linter.
For the flake8 linter I have in ~/.flake8:
[flake8]
max-line-length = 125
ignore =
...
- 6,230
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
syntax-highlighting × 711vimrc × 65
highlight × 58
colorscheme × 54
vimscript × 46
regular-expression × 40
neovim × 32
filetype × 25
filetype-markdown × 23
filetype-tex × 22
folding × 20
conceal × 19
gvim × 16
color × 16
terminal × 15
spell-checking × 14
filetype-python × 14
filetype-c × 13
filetype-html × 9
filetype-javascript × 9
indentation × 8
microsoft-windows × 8
plugin-system × 8
bash × 8
filetype-c++ × 8