#HTML tag not highlight on Neovim

17 messages · Page 1 of 1 (latest)

foggy swallow
#

I am editing file by Neovim. Files like CSS, JS, TS work fine, HTML also have autosuggest but it not hightlight the tag

muted tiger
#

I wonder if you have the same issue as another I was just looking at. Can you run and share results of these:

lt ~/.local/share/nvim
lt ~/.local/state/nvim
ls ~/.cache/nvim
restive meadow
#

think i might have the same / similar issue,

-> lazy  mason  neo-tree.nvim.log  site  snacks
-> blink  lazy  log  lsp.log  mason.log  sessions  shada  swap  undo
-> luac  mason-registry-update  tokyonight-moon.json  tokyonight-night.json  tree-sitter-query

this was the output on my system (in case you meant ls instead of lt)

muted tiger
#

I meant lt

#

I want to see the permissions of the tree

restive meadow
muted tiger
#

Interesting. Can you do the same lt on ~/.config/nvim?

restive meadow
#
drwxr-xr-x    - jmad 19 Oct 18:40  /home/jmad/.config/nvim
.rw-r--r--   72 jmad 19 Oct 18:40 ├──  init.lua
.rw-r--r-- 4.0k jmad 19 Oct 18:40 ├──  lazy-lock.json
.rw-r--r--  146 jmad 19 Oct 18:46 ├──  lazyvim.json
.rw-r--r--  11k jmad 19 Oct 18:40 ├──  LICENSE
drwxr-xr-x    - jmad 19 Oct 18:40 ├──  lua
drwxr-xr-x    - jmad 19 Oct 18:40 │   ├──  config
drwxr-xr-x    - jmad 19 Oct 18:40 │   └──  plugins
drwxr-xr-x    - jmad 19 Oct 18:40 ├──  plugin
drwxr-xr-x    - jmad 19 Oct 18:40 │   └──  after
.rw-r--r--  171 jmad 19 Oct 18:40 ├── 󰂺 README.md
.rw-r--r--   58 jmad 19 Oct 18:40 └──  stylua.toml
muted tiger
#

You could try the fix a couple of others had work over in an issues thread but it doesn't look to be your issue.

rm -rf ~/.local/share/nvim
rm -rf ~/.local/state/nvim
rm -rf ~/.cache/nvim
#

This will cause lazy to reinstall everything when you open it next time so be aware of that

restive meadow
#

that's fine 🙏 , i'll try it, just in case

#

hmm, that actually worked

#

@muted tiger thanks man ❤️

muted tiger
#

Well I'll be damned

#

Do you mind running those same commands over and sharing to see if we can spot any differences that might help figure out why?

restive meadow