summaryrefslogtreecommitdiff
path: root/start/lspconfig-0.1.8/lua/lspconfig/server_configurations/coffeesense.lua
diff options
context:
space:
mode:
Diffstat (limited to 'start/lspconfig-0.1.8/lua/lspconfig/server_configurations/coffeesense.lua')
-rw-r--r--start/lspconfig-0.1.8/lua/lspconfig/server_configurations/coffeesense.lua21
1 files changed, 21 insertions, 0 deletions
diff --git a/start/lspconfig-0.1.8/lua/lspconfig/server_configurations/coffeesense.lua b/start/lspconfig-0.1.8/lua/lspconfig/server_configurations/coffeesense.lua
new file mode 100644
index 0000000..f5b75a8
--- /dev/null
+++ b/start/lspconfig-0.1.8/lua/lspconfig/server_configurations/coffeesense.lua
@@ -0,0 +1,21 @@
+local util = require 'lspconfig.util'
+
+return {
+ default_config = {
+ cmd = { 'coffeesense-language-server', '--stdio' },
+ filetypes = { 'coffee' },
+ root_dir = util.root_pattern 'package.json',
+ single_file_support = true,
+ },
+ docs = {
+ description = [[
+https://github.com/phil294/coffeesense
+
+CoffeeSense Language Server
+`coffeesense-language-server` can be installed via `npm`:
+```sh
+npm install -g coffeesense-language-server
+```
+]],
+ },
+}