diff options
| author | Vladimir Levin <34550675+opa-oz@users.noreply.github.com> | 2024-06-23 17:46:29 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-23 16:46:29 +0800 |
| commit | 47865d54ba675fdc5a07a208a57ebc4636e5b078 (patch) | |
| tree | 9ee1cd33b8569e5e9699a31b0b83ecb146c0cad2 /lua | |
| parent | docs: update server_configurations.md (diff) | |
| download | nvim-lspconfig-47865d54ba675fdc5a07a208a57ebc4636e5b078.tar nvim-lspconfig-47865d54ba675fdc5a07a208a57ebc4636e5b078.tar.gz nvim-lspconfig-47865d54ba675fdc5a07a208a57ebc4636e5b078.tar.bz2 nvim-lspconfig-47865d54ba675fdc5a07a208a57ebc4636e5b078.tar.lz nvim-lspconfig-47865d54ba675fdc5a07a208a57ebc4636e5b078.tar.xz nvim-lspconfig-47865d54ba675fdc5a07a208a57ebc4636e5b078.tar.zst nvim-lspconfig-47865d54ba675fdc5a07a208a57ebc4636e5b078.zip | |
feat: add pug-lsp support (#3220)
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/lspconfig/server_configurations/pug.lua | 18 |
1 files changed, 18 insertions, 0 deletions
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) + ]], + }, +} |
