aboutsummaryrefslogtreecommitdiffstats
path: root/doc/server_configurations.md
diff options
context:
space:
mode:
Diffstat (limited to 'doc/server_configurations.md')
-rw-r--r--doc/server_configurations.md49
1 files changed, 49 insertions, 0 deletions
diff --git a/doc/server_configurations.md b/doc/server_configurations.md
index 2938fd65..5e52ceca 100644
--- a/doc/server_configurations.md
+++ b/doc/server_configurations.md
@@ -149,6 +149,7 @@ that config. This file is accessible in neovim via `:help lspconfig-server-confi
- [vdmj](#vdmj)
- [verible](#verible)
- [vimls](#vimls)
+- [visualforce_ls](#visualforce_ls)
- [vls](#vls)
- [volar](#volar)
- [vuels](#vuels)
@@ -6331,6 +6332,54 @@ require'lspconfig'.vimls.setup{}
```
+## visualforce_ls
+
+https://github.com/forcedotcom/salesforcedx-vscode
+
+Language server for Visualforce.
+
+For manual installation, download the .vsix archive file from the
+[forcedotcom/salesforcedx-vscode](https://github.com/forcedotcom/salesforcedx-vscode)
+GitHub releases. Then, configure `cmd` to run the Node script at the unpacked location:
+
+```lua
+require'lspconfig'.visualforce_ls.setup {
+ cmd = {
+ 'node',
+ '/path/to/unpacked/archive/extension/node_modules/@salesforce/salesforcedx-visualforce-language-server/out/src/visualforceServer.js',
+ '--stdio'
+ }
+}
+```
+
+
+
+**Snippet to enable the language server:**
+```lua
+require'lspconfig'.visualforce_ls.setup{}
+```
+
+
+**Default values:**
+ - `filetypes` :
+ ```lua
+ { "visualforce" }
+ ```
+ - `init_options` :
+ ```lua
+ {
+ embeddedLanguages = {
+ css = true,
+ javascript = true
+ }
+ }
+ ```
+ - `root_dir` :
+ ```lua
+ root_pattern('sfdx-project.json')
+ ```
+
+
## vls
https://github.com/vlang/vls