aboutsummaryrefslogtreecommitdiffstats
path: root/lua
diff options
context:
space:
mode:
authorSeth Gower <seth@sethgower.com>2024-03-22 02:36:55 -0400
committerGitHub <noreply@github.com>2024-03-22 14:36:55 +0800
commit1d5e1102e492cdf8da9b8ce391fc678ebd0efcfd (patch)
tree094d6d5fed227e3a9021a759db9e524117665e30 /lua
parentdocs: update server_configurations.md (diff)
downloadnvim-lspconfig-1d5e1102e492cdf8da9b8ce391fc678ebd0efcfd.tar
nvim-lspconfig-1d5e1102e492cdf8da9b8ce391fc678ebd0efcfd.tar.gz
nvim-lspconfig-1d5e1102e492cdf8da9b8ce391fc678ebd0efcfd.tar.bz2
nvim-lspconfig-1d5e1102e492cdf8da9b8ce391fc678ebd0efcfd.tar.lz
nvim-lspconfig-1d5e1102e492cdf8da9b8ce391fc678ebd0efcfd.tar.xz
nvim-lspconfig-1d5e1102e492cdf8da9b8ce391fc678ebd0efcfd.tar.zst
nvim-lspconfig-1d5e1102e492cdf8da9b8ce391fc678ebd0efcfd.zip
feat: adds ginko_ls support (#3086)
Diffstat (limited to 'lua')
-rw-r--r--lua/lspconfig/server_configurations/ginko_ls.lua21
1 files changed, 21 insertions, 0 deletions
diff --git a/lua/lspconfig/server_configurations/ginko_ls.lua b/lua/lspconfig/server_configurations/ginko_ls.lua
new file mode 100644
index 00000000..61f9de60
--- /dev/null
+++ b/lua/lspconfig/server_configurations/ginko_ls.lua
@@ -0,0 +1,21 @@
+local util = require 'lspconfig.util'
+
+return {
+ default_config = {
+ cmd = { 'ginko_ls' },
+ filetypes = { 'dts' },
+ root_dir = util.find_git_ancestor,
+ settings = {},
+ },
+ docs = {
+ description = [[
+`ginko_ls` is meant to be a feature-complete language server for device-trees.
+Language servers can be used in many editors, such as Visual Studio Code, Emacs
+or Vim
+
+Install `ginko_ls` from https://github.com/Schottkyc137/ginko and add it to path
+
+`ginko_ls` doesn't require any configuration.
+]],
+ },
+}