From 204fd5719929994c45c733d7dba3b659b6872a0e Mon Sep 17 00:00:00 2001 From: ViViDboarder Date: Fri, 25 Feb 2022 11:09:53 -0800 Subject: [PATCH] Remove ale from lua --- neovim/lua/plugins.lua | 7 ------ neovim/lua/plugins/ale.lua | 44 -------------------------------------- 2 files changed, 51 deletions(-) delete mode 100644 neovim/lua/plugins/ale.lua diff --git a/neovim/lua/plugins.lua b/neovim/lua/plugins.lua index 649866e..0c72740 100644 --- a/neovim/lua/plugins.lua +++ b/neovim/lua/plugins.lua @@ -317,13 +317,6 @@ use({ end, }) -use({ - "dense-analysis/ale", - config = function() - require("plugins.ale") - end, -}) - -- Debuging nvim config use({ "tweekmonster/startuptime.vim", diff --git a/neovim/lua/plugins/ale.lua b/neovim/lua/plugins/ale.lua deleted file mode 100644 index ab5cace..0000000 --- a/neovim/lua/plugins/ale.lua +++ /dev/null @@ -1,44 +0,0 @@ -vim.g["airline#extensions#ale#enabled"] = 1 -vim.g.ale_lint_on_enter = 0 -vim.g.ale_go_golangci_lint_package = 1 -vim.g.ale_disable_lsp = 1 -vim.g.ale_linters = { - go = {}, - rust = {}, - python = {}, - lua = {}, - -- sh = {'language_server', 'shell', 'shellcheck'}, - sh = {}, - text = {}, - markdown = {}, - fish = {}, - ansible = {}, - dockerfile = {}, -} -vim.g.ale_linter_aliases = { - markdown = { "text" }, -} -local pretty_trim_fixer = { - "prettier", - "trim_whitespace", - "remove_trailing_lines", -} -vim.g.ale_fixers = { - ["*"] = { "trim_whitespace", "remove_trailing_lines" }, - -- go = {"gofmt", "goimports"}, - json = pretty_trim_fixer, - -- rust = {"rustfmt"}, - --[[ - python = { - "black", - "autopep8", - "reorder-python-imports", - "remove_trailing_lines", - "trim_whitespace", - }, - --]] - markdown = pretty_trim_fixer, - yaml = { "prettier", "remove_trailing_lines" }, - css = pretty_trim_fixer, - javascript = pretty_trim_fixer, -}