feat some stuff
This commit is contained in:
parent
c87784dc14
commit
ac6be60d95
@ -87,10 +87,14 @@ if u.has_plugin("compe") then
|
|||||||
end
|
end
|
||||||
|
|
||||||
-- LSP Config
|
-- LSP Config
|
||||||
local lsp_utils = require "lsp-utils"
|
if u.has_plugin("lspconfig") then
|
||||||
|
|
||||||
|
require "lsp-utils"
|
||||||
|
|
||||||
opt.completeopt = {"menuone", "noinsert", "noselect"}
|
opt.completeopt = {"menuone", "noinsert", "noselect"}
|
||||||
opt.shortmess:append({c = true})
|
opt.shortmess:append({c = true})
|
||||||
|
|
||||||
-- Autoformat
|
-- Autoformat
|
||||||
require "autoformatter"
|
require "autoformatter"
|
||||||
|
|
||||||
|
end
|
5
setup.sh
5
setup.sh
@ -9,6 +9,9 @@ cd "$(dirname "$0")"
|
|||||||
. ./helpers/asdf-install.sh --source-only
|
. ./helpers/asdf-install.sh --source-only
|
||||||
|
|
||||||
echo "-- welcome to my setup script --"
|
echo "-- welcome to my setup script --"
|
||||||
|
|
||||||
|
if [ "$(which git)" = "" ] && ["$(which curl)" = ""]; then
|
||||||
|
|
||||||
echo "-- installing prerequesits (git, curl) --"
|
echo "-- installing prerequesits (git, curl) --"
|
||||||
|
|
||||||
INTERACTIVE=$(tty -s && echo "true" || echo "false")
|
INTERACTIVE=$(tty -s && echo "true" || echo "false")
|
||||||
@ -30,6 +33,8 @@ install curl
|
|||||||
|
|
||||||
echo "-----------------------------------"
|
echo "-----------------------------------"
|
||||||
|
|
||||||
|
fi
|
||||||
|
|
||||||
#Make the selection
|
#Make the selection
|
||||||
echo "-- what do you want to install? --"
|
echo "-- what do you want to install? --"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user