LhKipp / nvim-nu

Basic editor support for the nushell language
GNU General Public License v3.0
134 stars 10 forks source link

Syntax highlighting isn't working #4

Closed jceb closed 1 year ago

jceb commented 1 year ago

Thank you for the plugin. I installed it some time ago and was able to get the syntax highlighting to work :+1: However, now with nushell 0.74.0 and the latest version of this plugin + latest version of neovim treesitter syntax highlight doesn't work anymore.

When I run :TSModuleInfo it looks like syntax highlighting isn't supported anymore:

>> default         highlight  incremental_selection  indent  matchup
...
nu                 ✗          ✓                      ✗       ✗
LhKipp commented 1 year ago

Hi jceb,

thanks for your feedback.

I have the following versions installed:

nvim --version: NVIM v0.9.0-dev-632+g266a1c61b9
nvim-treesitter commit: 7bef1d53302f1087a07f83a4321582d835f44d4f
nvim-nu: 1aad12e866f6d53dd5ec31ada79767199334a4ca

Syntax highlighting works for me.

default         autotag  highlight  incremental_selection  indent  matchup  nvimGPS  rainbow  
nu                 ✗           ✓          ✓                      ✗       ✗        ✗        ✗        

Did you try to reinstall the nu tree-stitter grammar (TSInstall nu and confirm to reinstall)?

jceb commented 1 year ago

I've been using NVIM v0.8.2 and the latest versions of nvim-treesitter and nvim-nu. Reinstalling didn't provide the desired change. However, the update to NVIM ~0.9.0-dev made it work. Thank you for the hint!