Comments (4)
You need to provide a reproducible config with nvim --clean -u test.lua
. (And just to save some time, you cannot lazy-load filetype plugins.)
from neovim.
The problem happens even with vim-plug
Seems to have been around at least a year: https://www.reddit.com/r/neovim/comments/11banfa/cant_get_syntax_highlighting_to_work_correctly/ja0ptzq/
from neovim.
That doesn't absolve you from the need to provide a minimal reproducible config here. Reddit posts are virtually useless as actionable bug reports.
from neovim.
Vim 9.0.639 works correctly, syntax is turned on in my .vimrc
Depends on when your config calls :syntax enable
.
A workaround might be to put your syntax file in after/syntax/
instead of syntax/
. Example: https://github.com/justinmk/vim-syntax-extra/tree/master/after/syntax
from neovim.
Related Issues (20)
- Conflict In Ada When Leader Mapped to Space HOT 1
- @lsp.type.macro links to @constant.macro, but @constant.macro is not defined HOT 2
- Undo sometimes triggers assert when restoring extmarks HOT 10
- [d-default behaves differently from explicit mapping HOT 1
- cmdline lua completion for `vim.fn.*` has missing items HOT 1
- Default :terminal palette colors could have better contrast in GUIs HOT 7
- `'statusline'` `%{…}` expressions will sometimes lose a leading space
- performance: vim.validate, vim.startswith, vim.endswith are slow HOT 11
- Colorscheme without "gui" colors does not load on startup HOT 8
- All text is search-highlighted at startup HOT 3
- Failed to open .gitconfig HOT 5
- vim.glob.to_lpeg doesn't always work as expected HOT 4
- Allow floating windows to be anchored relative to extmarks
- 'hi Whitespace' not applied correctly in v0.10.0 HOT 2
- Neovim crashes on nightly HOT 10
- Split out `ArrayIter` from `vim.iter()` HOT 5
- nvim_buf_set_extmark with inline text doesn't seem unicode-safe HOT 1
- Italic property for other groups is forcedly ignored in italic string HOT 1
- Segmentation fault SIGSEGV when opening any file HOT 5
- UTF-8 Locale under Plasma has checkhealth reports UTF-8 not supported HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from neovim.