From 04a56f6431e38ad0121f0f81e9200aa32c96c2f9 Mon Sep 17 00:00:00 2001 From: Cody Hiar Date: Thu, 9 Mar 2023 14:23:40 -0700 Subject: Enable linting by default --- init.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/init.lua b/init.lua index 41354f9..8da2827 100644 --- a/init.lua +++ b/init.lua @@ -327,10 +327,10 @@ vim.api.nvim_set_keymap('', 's', 'HopChar2', { noremap = true } require'hop'.setup { keys = 'etovxqpdygfblzhckisuran' } -- ale -vim.g.ale_lint_on_enter = 0 -vim.g.ale_lint_on_save = 0 -vim.g.ale_lint_on_insert_leave = 0 -vim.g.ale_lint_on_text_changed = 0 +vim.g.ale_lint_on_enter = 1 +vim.g.ale_lint_on_save = 1 +vim.g.ale_lint_on_insert_leave = 1 +vim.g.ale_lint_on_text_changed = 1 -- Custom function for completely toggling ale linting function _G.toggle_ale_linting() if (vim.g.ale_lint_on_insert_leave == 0) then -- cgit v1.2.3