diff options
author | Cody Hiar <cody@hiar.ca> | 2023-03-09 14:23:40 -0700 |
---|---|---|
committer | Cody Hiar <cody@hiar.ca> | 2023-03-09 14:23:40 -0700 |
commit | 04a56f6431e38ad0121f0f81e9200aa32c96c2f9 (patch) | |
tree | 5ed15b12db806c94d4c775430094e50ac9a45ab9 | |
parent | c67accb4ea19086476d4f830ebd15bbc4c4ae4e8 (diff) |
Enable linting by default
-rw-r--r-- | init.lua | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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 |