Our great sponsors
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
I was editing qmake file which has extension .pro and VIM was able to highlight it but nvim failed to do so. I came across vim-polygot and thought to add the manual highlighting in nvim as well. According to nvim syntax doc one can add manual entries very easily, so I cloned the vim-polygot repo and made a symlink of syntax folder as ~/.config/nvim/syntax and I can set for whatever language I want which is not present in Treesitter.
I believe Vim is considering it currently and someone has a working(?) prototype: https://github.com/vim/vim/issues/9087
Does it have to be native? https://github.com/icedman/nvim-textmate
Related posts
- how to indent javascript code correctly in a PHP file?
- Which version of Vim do you use?
- How can I create a new mode in vim? My goal is to create a way for vscode users or other text editor users to code in vim with their common keyboard shortcuts (e.g. <C-z> undo, <C-c> copy, <c-v> paste, etc. )
- Is there a way to delete lines without putting them in your 'Yank Buffer'?
- fragmentation anxieties