Skip to content

Commit

Permalink
Add citation-langserver LSP server.
Browse files Browse the repository at this point in the history
  • Loading branch information
manateelazycat committed Sep 22, 2024
1 parent d8a1e39 commit 523ed82
Show file tree
Hide file tree
Showing 5 changed files with 42 additions and 30 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -363,6 +363,7 @@ If your language supports mixed multi-language servers, it is recommended to che
| Astro | [astro](https://github.com/withastro/language-tools/tree/main/packages/language-server) | `npm i -g @astrojs/language-server` |
| Bash | [bash-language-server](https://github.com/bash-lsp/bash-language-server) | |
| Beancount | [beancount-language-server](https://github.com/polarmutex/beancount-language-server) | `cargo install beancount-language-server` |
| BibTex | [citation-langserver](https://github.com/oncomouse/citation-langserver) | |
| Clojure | [clojure-lsp](https://github.com/clojure-lsp/clojure-lsp) | If you use `homebrew`, please ensure install `clojure-lsp/brew/clojure-lsp-native` [clojure-lsp-native](https://clojure-lsp.io/installation/#homebrew-macos-and-linux) |
| Cmake | [cmake-language-server](https://github.com/regen100/cmake-language-server) | `pip install cmake-language-server` |
| Cobol | [che-che4z-lsp-for-cobol](https://github.com/eclipse-che4z/che-che4z-lsp-for-cobol) | |
Expand Down
2 changes: 2 additions & 0 deletions README.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -359,6 +359,8 @@ lsp-bridge 针对许多语言都提供 2 个以上的语言服务器支持,
| Astro | [astro](https://github.com/withastro/language-tools/tree/main/packages/language-server) | `npm i -g @astrojs/language-server` |
| Bash | [bash-language-server](https://github.com/bash-lsp/bash-language-server) | |
| Beancount | [beancount-language-server](https://github.com/polarmutex/beancount-language-server) | `cargo install beancount-language-server` |
| BibTex | [citation-langserver](https://github.com/oncomouse/citation-langserver) | |

| Clojure | [clojure-lsp](https://github.com/clojure-lsp/clojure-lsp) | 如果使用 `homebrew` 安装的, 请确保安装的是 `clojure-lsp/brew/clojure-lsp-native` [clojure-lsp-native](https://clojure-lsp.io/installation/#homebrew-macos-and-linux) |
| Cmake | [cmake-language-server](https://github.com/regen100/cmake-language-server) | `pip install cmake-language-server` |
| Cobol | [che-che4z-lsp-for-cobol](https://github.com/eclipse-che4z/che-che4z-lsp-for-cobol) | |
Expand Down
8 changes: 8 additions & 0 deletions langserver/citation-langserver.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"name": "citation-langserver",
"languageId": "bibtex",
"command": [
"citation-langserver"
],
"settings": {}
}
3 changes: 3 additions & 0 deletions lsp-bridge.el
Original file line number Diff line number Diff line change
Expand Up @@ -587,6 +587,7 @@ Possible choices are basedpyright_ruff, pyright_ruff, pyright-background-analysi
(solidity-mode . "solidity")
(gleam-ts-mode . "gleam")
(ada-mode . "ada-language-server")
(bibtex-mode . "citation-langserver")
(feature-mode . "cucumber-language-server")
(rego-mode . "regal")
(puppet-mode . "puppet-languageserver")
Expand Down Expand Up @@ -706,6 +707,7 @@ Possible choices are basedpyright_ruff, pyright_ruff, pyright-background-analysi
solidity-mode-hook
gleam-ts-mode-hook
ada-mode-hook
bibtex-mode-hook
feature-mode-hook
rego-mode-hook
puppet-mode-hook
Expand Down Expand Up @@ -779,6 +781,7 @@ you can customize `lsp-bridge-get-workspace-folder' to return workspace folder p
(raku-mode . raku-indent-offset) ; Perl6/Raku
(erlang-mode . erlang-indent-level) ; Erlang
(ada-mode . ada-indent) ; Ada
(bibtex-mode . lsp-bridge-indent-two-level) ; BibTex
(feature-mode . feature-indent-level) ; Cucumber
(rego-mode . lsp-bridge-indent-two-level) ; Rego
(puppet-mode . puppet-indent-level) ; Puppet
Expand Down
58 changes: 28 additions & 30 deletions todo.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,60 +4,58 @@ Below LSP server haven't supported, PR are welcome. ;)

2. **PowerShell**: [github.com/PowerShell/PowerShellEditorServices](https://github.com/PowerShell/PowerShellEditorServices) (need env to test start command)

3. **Coq**: coq-lsp
3. **Coq**: coq-lsp (Looks is multiple language LSP server)

4. **Delphi**: Embarcadero (Proprietary - DelphiLSP)
4. **Delphi**: Embarcadero (Proprietary - DelphiLSP) (Need found the full path of DelphiLSP.exe in Windows)

5. **BibTeX**: [github.com/oncomouse/citation-langserver](https://github.com/oncomouse/citation-langserver)
5. **JSON-LD**: [github.com/ajuvercr/jsonld-lsp](https://github.com/ajuvercr/jsonld-lsp)

6. **JSON-LD**: [github.com/ajuvercr/jsonld-lsp](https://github.com/ajuvercr/jsonld-lsp)
6. **Ballerina**: [github.com/ballerina-platform/ballerina-lang/tree/master/language-server](https://github.com/ballerina-platform/ballerina-lang/tree/master/language-server)

7. **Ballerina**: [github.com/ballerina-platform/ballerina-lang/tree/master/language-server](https://github.com/ballerina-platform/ballerina-lang/tree/master/language-server)
7. **Langium**: [github.com/langium/langium](https://github.com/langium/langium)

8. **Langium**: [github.com/langium/langium](https://github.com/langium/langium)
8. **Odin**: [github.com/DanielGavin/ols](https://github.com/DanielGavin/ols)

9. **Odin**: [github.com/DanielGavin/ols](https://github.com/DanielGavin/ols)
9. **Xtext** (Any Language): [github.com/eclipse/xtext-core](https://github.com/eclipse/xtext-core)

10. **Xtext** (Any Language): [github.com/eclipse/xtext-core](https://github.com/eclipse/xtext-core)
10. **ActionScript3**: [github.com/BowlerHatLLC/vscode-nextgenas/tree/master/language-server](https://github.com/BowlerHatLLC/vscode-nextgenas/tree/master/language-server)

11. **ActionScript3**: [github.com/BowlerHatLLC/vscode-nextgenas/tree/master/language-server](https://github.com/BowlerHatLLC/vscode-nextgenas/tree/master/language-server)
11. **Raku**: [github.com/bscan/RakuNavigator](https://github.com/bscan/RakuNavigator)

12. **Raku**: [github.com/bscan/RakuNavigator](https://github.com/bscan/RakuNavigator)
12. **Flux**: [github.com/influxdata/flux-lsp](https://github.com/influxdata/flux-lsp)

13. **Flux**: [github.com/influxdata/flux-lsp](https://github.com/influxdata/flux-lsp)
13. **SPARQL**: [github.com/stardog-union/stardog-language-servers/tree/master/packages/sparql-language-server](https://github.com/stardog-union/stardog-language-servers/tree/master/packages/sparql-language-server)

14. **SPARQL**: [github.com/stardog-union/stardog-language-servers/tree/master/packages/sparql-language-server](https://github.com/stardog-union/stardog-language-servers/tree/master/packages/sparql-language-server)
14. **Turtle**: [github.com/stardog-union/stardog-language-servers/tree/master/packages/turtle-language-server](https://github.com/stardog-union/stardog-language-servers/tree/master/packages/turtle-language-server)

15. **Turtle**: [github.com/stardog-union/stardog-language-servers/tree/master/packages/turtle-language-server](https://github.com/stardog-union/stardog-language-servers/tree/master/packages/turtle-language-server)
15. **Common Workflow Language (CWL)**: Rabix/Benten

16. **Common Workflow Language (CWL)**: Rabix/Benten
16. **Smalltalk/Pharo**: [github.com/badetitou/Pharo-LanguageServer](https://github.com/badetitou/Pharo-LanguageServer)

17. **Smalltalk/Pharo**: [github.com/badetitou/Pharo-LanguageServer](https://github.com/badetitou/Pharo-LanguageServer)
17. **DreamMaker**: [github.com/SpaceManiac/SpacemanDMM/tree/master/crates/dm-langserver](https://github.com/SpaceManiac/SpacemanDMM/tree/master/crates/dm-langserver)

18. **DreamMaker**: [github.com/SpaceManiac/SpacemanDMM/tree/master/crates/dm-langserver](https://github.com/SpaceManiac/SpacemanDMM/tree/master/crates/dm-langserver)
18. **Grain**: [github.com/grain-lang/grain](https://github.com/grain-lang/grain)

19. **Grain**: [github.com/grain-lang/grain](https://github.com/grain-lang/grain)
19. **V**: [github.com/vlang/v-analyzer](https://github.com/vlang/v-analyzer)

20. **V**: [github.com/vlang/v-analyzer](https://github.com/vlang/v-analyzer)
20. **TTCN-3**: [github.com/nokia/ntt](https://github.com/nokia/ntt)

21. **TTCN-3**: [github.com/nokia/ntt](https://github.com/nokia/ntt)
21. **Red**: [github.com/bitbegin/redlangserver](https://github.com/bitbegin/redlangserver)

22. **Red**: [github.com/bitbegin/redlangserver](https://github.com/bitbegin/redlangserver)
22. **Fennel**: [git.sr.ht/~xerool/fennel-ls](https://git.sr.ht/~xerool/fennel-ls)

23. **Fennel**: [git.sr.ht/~xerool/fennel-ls](https://git.sr.ht/~xerool/fennel-ls)
23. **Erg**: [github.com/erg-lang/erg/tree/main/crates/els](https://github.com/erg-lang/erg/tree/main/crates/els)

24. **Erg**: [github.com/erg-lang/erg/tree/main/crates/els](https://github.com/erg-lang/erg/tree/main/crates/els)
24. **Fuzion**: [github.com/tokiwa-software/fuzion-lsp-server](https://github.com/tokiwa-software/fuzion-lsp-server)

25. **Fuzion**: [github.com/tokiwa-software/fuzion-lsp-server](https://github.com/tokiwa-software/fuzion-lsp-server)
25. **Imandra Protocol Language**: [github.com/AestheticIntegration/ipl-vscode](https://github.com/AestheticIntegration/ipl-vscode)

26. **Imandra Protocol Language**: [github.com/AestheticIntegration/ipl-vscode](https://github.com/AestheticIntegration/ipl-vscode)
26. **MOCA**: [github.com/mrglassdanny/moca-language-server](https://github.com/mrglassdanny/moca-language-server)

27. **MOCA**: [github.com/mrglassdanny/moca-language-server](https://github.com/mrglassdanny/moca-language-server)
27. **openVALIDATION**: [github.com/openvalidation/ov-language-server](https://github.com/openvalidation/ov-language-server)

28. **openVALIDATION**: [github.com/openvalidation/ov-language-server](https://github.com/openvalidation/ov-language-server)
28. **Veryl**: [github.com/dalance/veryl/tree/master/crates/languageserver](https://github.com/dalance/veryl/tree/master/crates/languageserver)

29. **Veryl**: [github.com/dalance/veryl/tree/master/crates/languageserver](https://github.com/dalance/veryl/tree/master/crates/languageserver)
29. **Standard ML**: Millet

30. **Standard ML**: Millet

31. **Systemtap**: Systemtap LSP
30. **Systemtap**: Systemtap LSP

0 comments on commit 523ed82

Please sign in to comment.