; Try to target these ; https://github.com/nvim-treesitter/nvim-treesitter/blob/master/CONTRIBUTING.md#parser-configurations ; TODO Make fix, compute etc builtins ; TODO Work out why commented out highlights don't work with NVIM ; ["fix" "compute" "variable" ]@keyword ; (glob) @keyword ; Re-enable if you want all command names, highlighted. (command (command_name) @keyword) (thermo_kwarg) @keyword (bool) @constant.builtin ;Setting to boolean might be better, but this looks nicer [ (int) (float) ] @number [ (fix_style) (compute_style) ] @function [(variable) (fix_id) (compute_id) ] @property (comment) @comment (func function: (identifier) @function.builtin ; Function calls in lammps are only builtins ) (string_content) @string (sub_string_content) @string