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 :...
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 ...
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) ...
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 = ...
Only top scored, non community-wiki answers of a minimum length are eligible