aboutsummaryrefslogtreecommitdiffstats
path: root/lua/lspconfig/server_configurations/pug.lua
blob: 28f7db61cd9bd2e7cf844fae967d3e14449179a6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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)
    ]],
  },
}