From 1d5e1102e492cdf8da9b8ce391fc678ebd0efcfd Mon Sep 17 00:00:00 2001 From: Seth Gower Date: Fri, 22 Mar 2024 02:36:55 -0400 Subject: feat: adds ginko_ls support (#3086) --- lua/lspconfig/server_configurations/ginko_ls.lua | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 lua/lspconfig/server_configurations/ginko_ls.lua (limited to 'lua') 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. +]], + }, +} -- cgit v1.2.3-70-g09d2