From 0e808b49dffe60582fb3aa19cdc85a292be74064 Mon Sep 17 00:00:00 2001 From: gurkenhabicht Date: Sun, 18 Dec 2022 14:57:26 +0100 Subject: [PATCH] delted .vim inside .vim --- vim/.vim/.vim/after/ftplugin/go.vim | 2 -- vim/.vim/.vim/after/ftplugin/python.vim | 31 -------------------- vim/.vim/.vim/bundle/nerdtree | 1 - vim/.vim/.vim/compiler/go.vim | 3 -- vim/.vim/.vim/pack/default/start/gruvbox | 1 - vim/.vim/.vim/pack/vimspector/opt/vimspector | 1 - 6 files changed, 39 deletions(-) delete mode 100644 vim/.vim/.vim/after/ftplugin/go.vim delete mode 100644 vim/.vim/.vim/after/ftplugin/python.vim delete mode 160000 vim/.vim/.vim/bundle/nerdtree delete mode 100644 vim/.vim/.vim/compiler/go.vim delete mode 160000 vim/.vim/.vim/pack/default/start/gruvbox delete mode 160000 vim/.vim/.vim/pack/vimspector/opt/vimspector diff --git a/vim/.vim/.vim/after/ftplugin/go.vim b/vim/.vim/.vim/after/ftplugin/go.vim deleted file mode 100644 index 62d6da3..0000000 --- a/vim/.vim/.vim/after/ftplugin/go.vim +++ /dev/null @@ -1,2 +0,0 @@ -compiler go -nnoremap :silent make redraw diff --git a/vim/.vim/.vim/after/ftplugin/python.vim b/vim/.vim/.vim/after/ftplugin/python.vim deleted file mode 100644 index 4f48a3f..0000000 --- a/vim/.vim/.vim/after/ftplugin/python.vim +++ /dev/null @@ -1,31 +0,0 @@ -set tabstop=4 shiftwidth=4 autoindent smartindent expandtab -setlocal colorcolumn=80 - -setlocal path=.,** -setlocal wildignore+=*.pyc - -" Add search in other files inside the path -set include=^\\s*\\(from\\\|import\\)\\s*\\zs\\(\\S\\+\\s\\{-}\\)*\\ze\\($\\\|\ as\\) -function! PyInclude(fname) -" Following examples: -" import conv.metrics -" /conv.metrics/ -" conv/metrics.py -" from conv import conversion as conv (2) -" /conv import conversion/ -" conv/conversion.py conv.py - let parts = split(a:fname, ' import ') " (1) [conv.metrics] (2) [conv, conversion] - let l = parts[0] " (1) conv.metrics (2) conv - if len ( parts ) > 1 - let r = parts[1] " conversion - let joined = join([l,r], '.') " conv.conversion - let fp = substitute(joined, '\.', '/', 'g') . '.py' - let found = glob(fp, 1) - if len(found) - return found - endif - endif - return substitute(joined, '\.', '/', 'g') . '.py' -endfunction -setlocal includeexpr=PyInclude(v:fname) -setlocal define=^\\s*\\<\\(def\\\|class\\)\\> diff --git a/vim/.vim/.vim/bundle/nerdtree b/vim/.vim/.vim/bundle/nerdtree deleted file mode 160000 index 3595304..0000000 --- a/vim/.vim/.vim/bundle/nerdtree +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 35953042fbf5535a7e905b52a6973c3f7f8a5536 diff --git a/vim/.vim/.vim/compiler/go.vim b/vim/.vim/.vim/compiler/go.vim deleted file mode 100644 index 20be5c6..0000000 --- a/vim/.vim/.vim/compiler/go.vim +++ /dev/null @@ -1,3 +0,0 @@ -let current_compiler = ‘go’ -CompilerSet makeprg=go\ build\ ./... -CompilerSet errorformat=%E%f:%l:%c:%m diff --git a/vim/.vim/.vim/pack/default/start/gruvbox b/vim/.vim/.vim/pack/default/start/gruvbox deleted file mode 160000 index bf2885a..0000000 --- a/vim/.vim/.vim/pack/default/start/gruvbox +++ /dev/null @@ -1 +0,0 @@ -Subproject commit bf2885a95efdad7bd5e4794dd0213917770d79b7 diff --git a/vim/.vim/.vim/pack/vimspector/opt/vimspector b/vim/.vim/.vim/pack/vimspector/opt/vimspector deleted file mode 160000 index 8e2d352..0000000 --- a/vim/.vim/.vim/pack/vimspector/opt/vimspector +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 8e2d352eb8958693ea2021f7f43ae0418dcb083b