Skip to content

Commit

Permalink
Added perl LSP support and some syntax highlighting improvements.
Browse files Browse the repository at this point in the history
  • Loading branch information
SpartanJ committed Dec 1, 2024
1 parent 2cdd14c commit 062040b
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 3 deletions.
7 changes: 7 additions & 0 deletions bin/assets/plugins/lspclient.json
Original file line number Diff line number Diff line change
Expand Up @@ -375,6 +375,13 @@
"command": "fortls --hover_signature --hover_language fortran --use_signature_help --incremental_sync",
"file_patterns": ["%.f$", "%.f90$", "%.f95$"],
"rootIndicationFileNames": [".fortls"]
},
{
"language": "perl",
"name": "PerlNavigator",
"url": "https://github.com/bscan/PerlNavigator",
"command": "perlnavigator",
"file_patterns": ["%.pm$", "%.pl$"]
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,20 @@ void addPerl() {

},
{
{ "if", "keyword" },
{ "elsif", "keyword" },
{ "else", "keyword" },
{ "unless", "keyword" },
{ "while", "keyword" },
{ "until", "keyword" },
{ "foreach", "keyword" },
{ "for", "keyword" },
{ "do", "keyword" },
{ "atan2", "keyword" },
{ "next", "keyword" },
{ "last", "keyword" },
{ "redo", "keyword" },
{ "goto", "keyword" },
{ "endhostent", "keyword" },
{ "sysread", "keyword" },
{ "last", "keyword" },
Expand Down Expand Up @@ -88,7 +101,7 @@ void addPerl() {
{ "flock", "keyword" },
{ "endprotoent", "keyword" },
{ "-X", "keyword" },
{ "system", "keyword" },
{ "system", "function" },
{ "select", "keyword" },
{ "localtime", "keyword" },
{ "index", "keyword" },
Expand Down Expand Up @@ -215,7 +228,7 @@ void addPerl() {
{ "shmctl", "keyword" },
{ "sin", "keyword" },
{ "semctl", "keyword" },
{ "exit", "keyword" },
{ "exit", "function" },
{ "getppid", "keyword" },
{ "-O", "keyword" },
{ "shmget", "keyword" },
Expand All @@ -228,7 +241,7 @@ void addPerl() {
{ "vec", "keyword" },
{ "-A", "keyword" },
{ "getgrnam", "keyword" },
{ "exec", "keyword" },
{ "exec", "function" },
{ "-o", "keyword" },
{ "msgctl", "keyword" },
{ "msgget", "keyword" },
Expand Down

0 comments on commit 062040b

Please sign in to comment.