From 47865d54ba675fdc5a07a208a57ebc4636e5b078 Mon Sep 17 00:00:00 2001 From: Vladimir Levin <34550675+opa-oz@users.noreply.github.com> Date: Sun, 23 Jun 2024 17:46:29 +0900 Subject: feat: add pug-lsp support (#3220) --- lua/lspconfig/server_configurations/pug.lua | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 lua/lspconfig/server_configurations/pug.lua (limited to 'lua') diff --git a/lua/lspconfig/server_configurations/pug.lua b/lua/lspconfig/server_configurations/pug.lua new file mode 100644 index 00000000..28f7db61 --- /dev/null +++ b/lua/lspconfig/server_configurations/pug.lua @@ -0,0 +1,18 @@ +local util = require 'lspconfig.util' + +return { + default_config = { + cmd = { 'pug-lsp' }, + filetypes = { 'pug' }, + root_dir = util.find_package_json_ancestor, + }, + docs = { + description = [[ +https://github.com/opa-oz/pug-lsp + +An implementation of the Language Protocol Server for [Pug.js](http://pugjs.org) + +PugLSP can be installed via `go get github.com/opa-oz/pug-lsp`, or manually downloaded from [releases page](https://github.com/opa-oz/pug-lsp/releases) + ]], + }, +} -- cgit v1.2.3-70-g09d2