vim-polyglot
vim-polyglot copied to clipboard
i3/sway syntax file not present
After #716, syntax highlighting does not work for i3config files. The filetype is set correctly, but there's no color. There is no i3sway syntax file in the repo. Running scripts/build
does not retrieve anything related to i3sway.
Same here. No syntax at all for i3config. Manually inserted ftplugin/i3config.vim
and syntax/i3config.vim
back as a workarround.
Hello, I am experiencing the same problem here. How did you exactly fix your issue @leoperegrino ?
Hello, I am experiencing the same problem here. How did you exactly fix your issue @leoperegrino ?
It seems that the vim repo has already merged the i3config syntax into it's codebase as you can see here. I have the latest version from the arch linux repository and it is indeed bundled together and I get native highlighting with vim. If you don't get the same behaviour try to update your vim.
The syntax it's also on neovim. However, the neovim patch that introduces the syntax it's not on the 0.6.1 release, therefore the i3config.vim
it's not on my neovim system files.
The easiest way to overcome absent highlighting if you still have issues, I guess it's using another plugin such as i3config.vim which it's the actual source for the vim and neovim build.