Compare commits

...

3 Commits

3 changed files with 16 additions and 28 deletions

View File

@ -6,17 +6,6 @@ bind '"\e": "\C-W\c-d"'
OPEN_MODE="new_pane"
while getopts ":l:v" option; do
case $option in
l)
OPEN_MODE="local"
;;
v)
VERBOSE=true
;;
esac
done
debug () {
if [ "$VERBOSE" = true ]; then
echo $1
@ -59,6 +48,18 @@ open_new_pane () {
tmux display-popup -C
}
while getopts "lv" option; do
debug "Reading option $option"
case $option in
l)
OPEN_MODE="local"
;;
v)
VERBOSE=true
;;
esac
done
declare -A CUSTOM_SESSIONS
CUSTOM_SESSIONS[Projects]=Halia
@ -80,6 +81,7 @@ PROJECT_NAME=$(echo $SELECTED | rev | cut -d '/' -f1 | rev)
SESSION_NAME=$([ -z "${CUSTOM_SESSIONS[$PROJECT_ROOT]}" ] && echo "$PROJECT_ROOT" || echo "${CUSTOM_SESSIONS[$PROJECT_ROOT]}")
debug "Project path is $PROJECT_PATH"
debug "Opening in $OPEN_MODE"
case $OPEN_MODE in
"new_pane")

View File

@ -1,17 +0,0 @@
{
"dependencies": {
"coc-clangd": ">=0.25.0",
"coc-docker": ">=0.5.0",
"coc-go": ">=1.3.0",
"coc-json": ">=1.3.6",
"coc-markdownlint": ">=1.26.0",
"coc-pairs": ">=1.3.2",
"coc-pyright": ">=1.1.272",
"coc-rls": ">=1.1.6",
"coc-rust-analyzer": ">=0.68.2",
"coc-sh": ">=0.7.0",
"coc-tsserver": ">=1.11.11",
"coc-vetur": ">=1.2.5",
"coc-yaml": ">=1.8.0"
}
}

View File

@ -42,6 +42,9 @@ return {
lspconfig.docker_compose_language_service.setup({
capabilities = capabilities
})
lspconfig.dockerls.setup({
capabilities = capabilities
})
vim.keymap.set('n', 'K', vim.lsp.buf.hover, {})
vim.keymap.set('n', 'gd', vim.lsp.buf.definition, {})