mirror of
https://codeberg.org/gitnex/GitNex.git
synced 2023-12-13 20:50:18 +01:00
9fa2e3f506
Currently highlight supports the following languages: - Java - Python - Go Lang - PHP More will come in next iterations/releases. Closes #1166 Closes #949 **EDIT: by support it means only can highlight that specific languages methods, classes, data types etc etc. By no means it is restricted to only that 4 langs. You can use it for any language you want.** Co-authored-by: M M Arif <mmarif@swatian.com> Co-authored-by: 6543 <6543@noreply.codeberg.org> Reviewed-on: https://codeberg.org/gitnex/GitNex/pulls/1182 Reviewed-by: 6543 <6543@noreply.codeberg.org>
15 lines
298 B
Java
15 lines
298 B
Java
package org.mian.gitnex.helpers.codeeditor;
|
|
|
|
/**
|
|
* @author AmrDeveloper
|
|
* @author M M Arif
|
|
*/
|
|
|
|
public enum LanguageName {
|
|
UNKNOWN, // no language is specified or app currently does not support the mentioned language
|
|
JAVA, // java
|
|
PY, // python with py extension
|
|
GO, // go lang
|
|
PHP // php
|
|
}
|