You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Noice supports syntax highlighting for the command line (which is nice!), but apparently does so by setting the filetype -- which triggers all manner of autocommands, such as attaching a language server.
Instead, Noice should just set vim.bo.syntax directly, or -- since Noice only supports treesitter highlighting, IIUC -- use vim.treesitter.start(bufnr, language).
(Compare how telescope does this, which has the same issue with its previews.)
The text was updated successfully, but these errors were encountered:
Noice supports syntax highlighting for the command line (which is nice!), but apparently does so by setting the filetype -- which triggers all manner of autocommands, such as attaching a language server.
Instead, Noice should just set
vim.bo.syntax
directly, or -- since Noice only supports treesitter highlighting, IIUC -- usevim.treesitter.start(bufnr, language)
.(Compare how telescope does this, which has the same issue with its previews.)
The text was updated successfully, but these errors were encountered: