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