diff --git a/coc-settings.json b/coc-settings.json index d92d332..98fe85a 100644 --- a/coc-settings.json +++ b/coc-settings.json @@ -6,6 +6,10 @@ "reportUnboundVariable":"none" }, "hover.target": "preview", - "clangd.path": "/usr/bin/clangd" + "clangd.path": "/usr/bin/clangd", + "python.formatting.provider": "black", + "python.formatting.blackPath": "/home/aselimov/.local/bin/black", + "python.formatting.blackArgs": ["-l","100"], + "coc.preferences.formatOnSaveFiletypes": ["python"] } diff --git a/ftplugin/sh.vim b/ftplugin/sh.vim index 3a952bb..5d70679 100644 --- a/ftplugin/sh.vim +++ b/ftplugin/sh.vim @@ -1,7 +1,2 @@ -map : w % ! ./% - -inoremap ;ph #####Help####Help(){echo ""echoecho "Syntax: <++> [<++>] <++>"echo "options:"echo "<++>"}5k0f"a -inoremap ;pf function fail {printf '%s\n' "$1" >&2exit "${2-1}"} -inoremap ;i if [ ]; then<++>fi2k0f[a -inoremap ;pg args=()argnum=0while [ $# -gt 0 ]; dounset OPTINDunset OPTARG#Parse Flagswhile getopts 'h' options; do case $options inh)Helpbreak;;<++>)<++>;;esacdoneshift $((OPTIND-1))args+=("$1") (( argnum++ ))shiftdone13kf'la -inoremap ;pf #####Error####function fail {printf '%s\n' "$1" >&2exit "${2-1}"} +set colorcolumn=100 +set tw=100