Steps to active:
- Go inside this cloned repo.
- Then type this command:
$ mv java.vim ~/.config/nvim/syntax/
- Have fun :)
Steps to disactive:
- Remove the java.vim file bash command:
$ rm ~/.config/nvim/syntax/java.vim
- This syntax highlighting is based on Visual-Studio-Code's onedark java syntax highlighting.
- BTW this code is color-coded based on onedark theme. You may change the colors according to your will.
Note: This is only tested on: - Arch linux (btw i use arch) - Neovim (hopefully its works on other type of vim editors)
This is a very basic syntax highlighting. but it does its job right :)
Have fun java programming guys! :)