commit 3be726a7e768195142ca74a993e3ced2bbe1cce5
parent f3dfcafda7a30a528834e250b75157cdc4e9f1a1
Author: Pablo Cárdenas <pablo.cardenas@imca.edu.pe>
Date: Fri, 15 Apr 2022 20:41:07 -0500
fix: removed ale and vim-polyglot
Diffstat:
6 files changed, 16 insertions(+), 61 deletions(-)
diff --git a/.gitmodules b/.gitmodules
@@ -1,9 +1,6 @@
[submodule "pack/pablo/start/editorconfig-vim"]
path = pack/pablo/start/editorconfig-vim
url = https://github.com/editorconfig/editorconfig-vim
-[submodule "pack/pablo/start/ale"]
- path = pack/pablo/start/ale
- url = https://github.com/dense-analysis/ale
[submodule "pack/pablo/start/vimwiki"]
path = pack/pablo/start/vimwiki
url = https://github.com/vimwiki/vimwiki
diff --git a/ftplugin/python.vim b/ftplugin/python.vim
@@ -1,2 +1,4 @@
+set formatprg=yapf
+
map <Leader>vr :call VimuxRunCommand("clear; source venv/bin/activate; python " . bufname("%"))<CR>
map <Leader>vo :call VimuxRunCommand("clear; source venv/bin/activate; python")<CR>
diff --git a/pack/pablo/start/ale b/pack/pablo/start/ale
@@ -1 +0,0 @@
-Subproject commit 19437e25d05950ab83dce285b4b8ec5166e06dba
diff --git a/plugin/pablo/ale.vim b/plugin/pablo/ale.vim
@@ -1,35 +0,0 @@
-let g:ale_linters = {
-\ 'c': ['clangd'],
-\ 'cpp': ['clangd'],
-\ 'css': ['stylelint'],
-\ 'html': ['stylelint', 'tidy'],
-\ 'javascript': ['eslint'],
-\ 'markdown': ['proselint', 'writegood'],
-\ 'plaintex': ['lacheck', 'chktex'],
-\ 'python': ['flake8', 'mypy'],
-\ 'r': ['lintr'],
-\ 'sass': ['stylelint'],
-\ 'tex': ['lacheck', 'chktex'],
-\ 'typescript': ['eslint'],
-\ 'typescriptreact': ['eslint'],
-\ }
-let g:ale_fixers = {
-\ '*': ['remove_trailing_lines', 'trim_whitespace'],
-\ 'c': ['clang-format'],
-\ 'cpp': ['clang-format'],
-\ 'css': ['stylelint'],
-\ 'html': ['stylelint'],
-\ 'javascript': ['prettier', 'eslint'],
-\ 'mail': [],
-\ 'plaintex': ['latexindent'],
-\ 'python': ['yapf'],
-\ 'r': ['styler'],
-\ 'sass': ['stylelint'],
-\ 'tex': ['latexindent'],
-\ 'typescript': ['prettier', 'eslint'],
-\ 'typescriptreact': ['prettier', 'eslint'],
-\}
-let g:ale_fix_on_save = 1
-
-nmap <silent> [a <Plug>(ale_previous_wrap)
-nmap <silent> ]a <Plug>(ale_next_wrap)
diff --git a/plugin/pablo/emmet.vim b/plugin/pablo/emmet.vim
@@ -17,20 +17,20 @@ let g:user_emmet_settings = {
\ ."</head>\n"
\ ."<body>\n\t${child}|\n</body>\n"
\ ."</html>",
-\ 'table': "<table>\n"
-\ ."\t<thead>\n"
-\ ."\t\t<tr>\n"
-\ ."\t\t\t<th scope=\"col\"></th>\n"
-\ ."\t\t\t<th scope=\"col\"></th>\n"
-\ ."\t\t</tr>\n"
-\ ."\t</thead>\n"
-\ ."\t<tbody>\n"
-\ ."\t\t<tr>\n"
-\ ."\t\t\t<th scope=\"row\"></th>\n"
-\ ."\t\t\t<td></td>\n"
-\ ."\t\t</tr>\n"
-\ ."\t</tbody>\n"
-\ ."</table>\n",
+\ 't': "<table>\n"
+\ ."\t<thead>\n"
+\ ."\t\t<tr>\n"
+\ ."\t\t\t<th scope=\"col\"></th>\n"
+\ ."\t\t\t<th scope=\"col\"></th>\n"
+\ ."\t\t</tr>\n"
+\ ."\t</thead>\n"
+\ ."\t<tbody>\n"
+\ ."\t\t<tr>\n"
+\ ."\t\t\t<th scope=\"row\"></th>\n"
+\ ."\t\t\t<td></td>\n"
+\ ."\t\t</tr>\n"
+\ ."\t</tbody>\n"
+\ ."</table>\n",
\ },
\ },
\}
diff --git a/plugin/pablo/vim-polyglot.vim b/plugin/pablo/vim-polyglot.vim
@@ -1,8 +0,0 @@
-" javascript
-let g:javascript_plugin_jsdoc = 1
-
-" markdown
-let g:vim_markdown_frontmatter = 1
-
-" indent
-let g:polyglot_disabled = ['autoindent']