Compare commits

..

No commits in common. "2b845c39e97cbc7cb58bc73acde7dfefa3a33f34" and "8e6a1abf26b2546df3e750798820c66adb698b03" have entirely different histories.

3 changed files with 28 additions and 16 deletions

View File

@ -6,6 +6,17 @@ 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
@ -48,18 +59,6 @@ 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
@ -81,7 +80,6 @@ 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

@ -0,0 +1,17 @@
{
"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,9 +42,6 @@ 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, {})