From 81b72adbdf72e5a6c8759f47b5d56036a38777f2 Mon Sep 17 00:00:00 2001 From: Henri Vandersleyen Date: Mon, 10 May 2021 10:00:41 -0700 Subject: [PATCH 1/2] added lua language WORKS FOR LINUX ONLY. --- install.sh | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/install.sh b/install.sh index a5323b5..6e1cd3b 100755 --- a/install.sh +++ b/install.sh @@ -2,7 +2,7 @@ BASE=$(git rev-parse --show-toplevel) LSP_BIN_PATH=$HOME/.local/bin -default_lsp_langs="css html ts rust python bash json" +default_lsp_langs="css html ts rust python bash json lua" lsp_langs="" choose_langs() { @@ -126,6 +126,16 @@ install_bash() { install_node_deps bash-language-server } +install_lua() { + git clone https://github.com/sumneko/lua-language-server ~/.config/lua-language-server + ( cd ~/.config/lua-language-server/ && git submodule update --init --recursive ) + + #linux only + (cd ~/.config/lua-language-server/3rd/luamake/ && compile/install.sh) + (cd ~/.config/lua-language-server/ && ./3rd/luamake/luamake rebuild) + +} + for lang in ${lsp_langs}; do if fn_exists install_$lang; then heading "Installing $lang language server" From 2e797e1c627543510b2690aaf6805fd714ded10b Mon Sep 17 00:00:00 2001 From: Henri <52706578+Vanderscycle@users.noreply.github.com> Date: Mon, 10 May 2021 10:06:48 -0700 Subject: [PATCH 2/2] Update README.md Corrected small error in the readme from my previous key binding modification. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index dd61101..280de94 100644 --- a/README.md +++ b/README.md @@ -208,7 +208,7 @@ I'd install it first and add its setup line : - **Managing tabs with bufferline!** -- Shift TAB or Shift TAB cycle through opened tabs +- TAB or Shift TAB cycle through opened tabs - Shift x close current tab - Shift t open new tab