Skip to content

Commit

Permalink
Merge pull request #760 from GTrunSec/nickel
Browse files Browse the repository at this point in the history
feat: add Nickel lang support
  • Loading branch information
manateelazycat authored Nov 3, 2023
2 parents 15b991f + ed9e683 commit 8be3537
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
6 changes: 6 additions & 0 deletions langserver/nls.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"name": "nls",
"languageId": "nickel",
"command": ["nls"],
"settings": {}
}
3 changes: 3 additions & 0 deletions lsp-bridge.el
Original file line number Diff line number Diff line change
Expand Up @@ -478,6 +478,7 @@ Then LSP-Bridge will start by gdb, please send new issue with `*lsp-bridge*' buf
(d-mode . "serve-d")
((fortran-mode f90-mode) . "fortls")
(nix-mode . lsp-bridge-nix-lsp-server)
(nickel-mode . "nls")
(ess-r-mode . "rlanguageserver")
(graphql-mode . "graphql-lsp")
(swift-mode . "swift-sourcekit")
Expand Down Expand Up @@ -550,6 +551,7 @@ Then LSP-Bridge will start by gdb, please send new issue with `*lsp-bridge*' buf
f90-mode-hook
fortran-mode-hook
nix-mode-hook
nickel-mode-hook
ess-r-mode-hook
verilog-mode-hook
swift-mode-hook
Expand Down Expand Up @@ -621,6 +623,7 @@ you can customize `lsp-bridge-get-workspace-folder' to return workspace folder p
(ada-mode . ada-indent) ; Ada
(sgml-mode . sgml-basic-offset) ; SGML
(nxml-mode . nxml-child-indent) ; XML
(nickel-mode . c-basic-offset)
(pascal-mode . pascal-indent-level) ; Pascal
(typescript-mode . typescript-indent-level) ; Typescript
(typescript-ts-mode . typescript-ts-mode-indent-offset) ; Typescript
Expand Down

0 comments on commit 8be3537

Please sign in to comment.