From 5686a90890105e6271307e86b472f729af1cc4f8 Mon Sep 17 00:00:00 2001 From: Ashkan Kiani Date: Fri, 15 Nov 2019 17:26:22 -0800 Subject: Redo installation. (#17) * Redo installation. Servers which want to be auto installed should specify skeleton[name].install() and it will be automatically added to the list of installable servers. - Add :LspInstall and :LspInstallInfo - Auto generate docs for servers with .install() available. - Add util.npm_installer - Refactor utf8 capabilities common config into a single function - Add contribution notes. - Also expose util.base_install_dir for other installers potentially - Fix tsserver's arguments and add javascript filetypes --- lua/nvim_lsp/bash.lua | 28 ---------------------------- 1 file changed, 28 deletions(-) delete mode 100644 lua/nvim_lsp/bash.lua (limited to 'lua/nvim_lsp/bash.lua') diff --git a/lua/nvim_lsp/bash.lua b/lua/nvim_lsp/bash.lua deleted file mode 100644 index a28ab2aa..00000000 --- a/lua/nvim_lsp/bash.lua +++ /dev/null @@ -1,28 +0,0 @@ -local skeleton = require 'nvim_lsp/skeleton' -local util = require 'nvim_lsp/util' -local lsp = vim.lsp - -local cwd = vim.loop.cwd() - -skeleton.bash = { - default_config = { - cmd = {"bash-language-server", "start"}; - filetypes = {"sh"}; - root_dir = function() return cwd end; - log_level = lsp.protocol.MessageType.Warning; - settings = {}; - }; - -- on_new_config = function(new_config) end; - -- on_attach = function(client, bufnr) end; - docs = { - description = [[ -For install instruction visit: -https://github.com/mads-hartmann/bash-language-server#installation -]]; - default_config = { - root_dir = "vim's starting directory"; - }; - }; -}; - --- vim:et ts=2 sw=2 -- cgit v1.2.3-70-g09d2