From 16c8f45f84d8a77d347f9a08be5c71acac880497 Mon Sep 17 00:00:00 2001 From: liugh <46311996+gh-liu@users.noreply.github.com> Date: Sun, 20 Nov 2022 12:29:01 +0800 Subject: feat: add fennel-ls support (#2247) * feat: add fennel-ls support * Update lua/lspconfig/server_configurations/fennel-ls.lua Co-authored-by: Raphael * Update lua/lspconfig/server_configurations/fennel-ls.lua Co-authored-by: Raphael * Update lua/lspconfig/server_configurations/fennel-ls.lua Co-authored-by: Raphael * Update lua/lspconfig/server_configurations/fennel-ls.lua Co-authored-by: Raphael Co-authored-by: liu Co-authored-by: Raphael --- lua/lspconfig/server_configurations/fennel-ls.lua | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 lua/lspconfig/server_configurations/fennel-ls.lua (limited to 'lua') diff --git a/lua/lspconfig/server_configurations/fennel-ls.lua b/lua/lspconfig/server_configurations/fennel-ls.lua new file mode 100644 index 00000000..0d7fc392 --- /dev/null +++ b/lua/lspconfig/server_configurations/fennel-ls.lua @@ -0,0 +1,19 @@ +local util = require 'lspconfig.util' + +return { + default_config = { + cmd = { 'fennel-ls' }, + filetypes = { 'fennel' }, + root_dir = function(dir) + return util.find_git_ancestor(dir) + end, + settings = {}, + }, + docs = { + description = [[ +https://sr.ht/~xerool/fennel-ls/ + +A language server for fennel. +]] , + }, +} -- cgit v1.2.3-70-g09d2