Jongwook Choi
Jongwook Choi
Regex based vim syntax can also highlight numbers and strings, no?
Thanks for the contribution again. Actually I'm having a hard time [reproducing the bug](https://github.com/wookayin/semshi/pull/12/commits/b965b74f23514e4973c50eacc78be77b021eeef7). I tried this session but haven't had the bug. Can you make a more clean step...
I see. I will work on refactoring to switch to `extmarks` from the legacy highlight API soon. Adding a test is not a big priority. BTW using the classic vim...
Actually I don't mind we don't have tests yet as we're lacking a infra for testing highlights, but I still would like to reproduce the issue.
Python 3.6 ~ 3.8: `_ast.keyword` does not have attribute `lineno` and `col_offset`, despite mentioned in the spec: https://docs.python.org/3.7/library/ast.html#ast.AST So there will be no `semshiKeywordArgument` for python < 3.9. See https://bugs.python.org/issue40141
I've added a new highlight group `semshiKeywordArgument`. Please try it out!
I will close this by #10. NOTE: I might change the highlight group to `semshiKeyword` (still undecided).
It was decided to be `semshiKeywordArgument`.
Yes, semshi was written a long time ago when LSP and treesitter was not landed yet. Semshi's highlight setup is `hi def` so it won't override any existing configs if...
Yes, the extmark (buf-local highlight) has different priority: semshi has priority 4096 and diagnostics has a fixed priority 150. ``` -- vim.api.nvim_buf_get_extmarks(0, -1, 0, -1, {details=true}) { 1, 4, 0,...