Open Alan-Manning opened 11 months ago
Aren't regex-based vim syntax or treesitter highlight not enough for you? Semshi was not designed to provide basic highlights for python.
i am using the default regex hi atm because treesitter was very slow on large python files, lagging every couple of seconds. But this means that is the same for every filetype and ideally i would like that for jsut python. I wasnt sure if this was something that could easily be extended to include this so all the python highlighting is done from one place.
Regex based vim syntax can also highlight numbers and strings, no?
it can yes but i would like it different for different filetypes so wondered if this was possible through this.
Hello,
how could i have the functionality to change the double quoted string, number/floats etc aswell. i dont mind if this is not added to the plugin, probably not everybody would want this. It would be nice to have a way of setting this though even if i have to add some code to my local semshi.vim file. What i really would like is the below colors in the setup somehow:
-- python -- Normal text: #ddedff -- comment: #5a83a4 -- String: #00c8ff -- Number: #fbff00 -- keywords: #ee00ff -- Builtin: #fabc02 -- Defonitions: #88e63c -- Instances: #ff3b18
this is the code i have atm to setup the plugin with lazy if that helps anybody.