Skip to content

Commit

Permalink
feat: add pug-lsp support (#3220)
Browse files Browse the repository at this point in the history
  • Loading branch information
opa-oz authored Jun 23, 2024
1 parent 0630abd commit 47865d5
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions lua/lspconfig/server_configurations/pug.lua
Original file line number Diff line number Diff line change
@@ -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)
]],
},
}

0 comments on commit 47865d5

Please sign in to comment.