Closed dmorgan-github closed 2 months ago
Are you using treesitter for syntax highlighting? If so, the problem is here and not in scnvim :) -> https://github.com/madskjeldgaard/tree-sitter-supercollider
I'm not using treesitter. I also did verify that the issue was present even after disabling all my plugins except scnvim.
Thanks for the report. I was not able to reproduce the issue, please try using a newer version of nvim
and feel free to re-open this issue if the problem persists.
Describe the bug Syntax highlighting becomes jumbled with multiline strings. Sometimes multiline strings will appear with correct syntax highlighting. Other times syntax highlighting will break on a new line while still within a string block.
Expected behavior String blocks should consistently retain syntax color and should not break outer code blocks denoted by open and closed parens.
Steps to reproduce Paste the below code into an scd file. The multiline string will not retain consistent syntax highlighting. Additionally, when trying to execute an entire block of code between open and closed paren a syntax error will be thrown. Highlighting the block and executing will work.
Additional context Using Zenburn theme
Information
Operating system MacOS v12.6
SuperCollider version version 3.12.0
nvim --version
NVIM v0.8.3 Build type: Release LuaJIT 2.1.0-beta3 Compiled by brew@MontereyFeatures: +acl +iconv +tui See ":help feature-compile"
system vimrc file: "$VIM/sysinit.vim" fall-back for $VIM: "/usr/local/Cellar/neovim/0.8.3/share/nvim"
Run :checkhealth for more info