aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCody Hiar <cody@hiar.ca>2023-03-09 14:23:40 -0700
committerCody Hiar <cody@hiar.ca>2023-03-09 14:23:40 -0700
commit04a56f6431e38ad0121f0f81e9200aa32c96c2f9 (patch)
tree5ed15b12db806c94d4c775430094e50ac9a45ab9
parentc67accb4ea19086476d4f830ebd15bbc4c4ae4e8 (diff)
Enable linting by default
-rw-r--r--init.lua8
1 files 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('', '<leader>s', '<cmd>HopChar2<cr>', { 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