aboutsummaryrefslogtreecommitdiffstats
path: root/lua
diff options
context:
space:
mode:
authorAlberto Russo <valix.ar@gmail.com>2024-03-03 07:17:41 +0100
committerGitHub <noreply@github.com>2024-03-03 14:17:41 +0800
commitd4f48704d6a1544b882ba6cae21fe0ba84c82bfa (patch)
tree2c1d059ebd06c35d749761ae31a657befdee9186 /lua
parentdocs: update server_configurations.md (diff)
downloadnvim-lspconfig-d4f48704d6a1544b882ba6cae21fe0ba84c82bfa.tar
nvim-lspconfig-d4f48704d6a1544b882ba6cae21fe0ba84c82bfa.tar.gz
nvim-lspconfig-d4f48704d6a1544b882ba6cae21fe0ba84c82bfa.tar.bz2
nvim-lspconfig-d4f48704d6a1544b882ba6cae21fe0ba84c82bfa.tar.lz
nvim-lspconfig-d4f48704d6a1544b882ba6cae21fe0ba84c82bfa.tar.xz
nvim-lspconfig-d4f48704d6a1544b882ba6cae21fe0ba84c82bfa.tar.zst
nvim-lspconfig-d4f48704d6a1544b882ba6cae21fe0ba84c82bfa.zip
feat: add pico8-ls support (#3041)
Diffstat (limited to 'lua')
-rw-r--r--lua/lspconfig/server_configurations/pico8_ls.lua17
1 files changed, 17 insertions, 0 deletions
diff --git a/lua/lspconfig/server_configurations/pico8_ls.lua b/lua/lspconfig/server_configurations/pico8_ls.lua
new file mode 100644
index 00000000..0da26b72
--- /dev/null
+++ b/lua/lspconfig/server_configurations/pico8_ls.lua
@@ -0,0 +1,17 @@
+local util = require 'lspconfig.util'
+
+return {
+ default_config = {
+ cmd = { 'pico8-ls', '--stdio' },
+ filetypes = { 'p8' },
+ root_dir = util.root_pattern '*.p8',
+ settings = {},
+ },
+ docs = {
+ description = [[
+https://github.com/japhib/pico8-ls
+
+Full language support for the PICO-8 dialect of Lua.
+]],
+ },
+}