Skip to content
This repository has been archived by the owner on Jun 26, 2021. It is now read-only.

Latest commit

 

History

History
38 lines (17 loc) · 944 Bytes

README.md

File metadata and controls

38 lines (17 loc) · 944 Bytes

NVim_Java_Highlighting

Java file (before vs after) Image of a java file (before vs after)

Steps to active:

  1. Go inside this cloned repo.
  2. Then type this command: $ mv java.vim ~/.config/nvim/syntax/
  3. Have fun :)

Steps to disactive:

  1. 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! :)