diff --git a/.config/nvim/init.lua b/.config/nvim/init.lua index aba9afb..aa7b691 100644 --- a/.config/nvim/init.lua +++ b/.config/nvim/init.lua @@ -24,7 +24,6 @@ map('n', 'gc', ':Telescope git_commits', options) map('n', '', ':Telescope buffers', options) map('n', 't', ':TagbarToggle', options) -vim.g.grammalecte_cli_py = "~/Grammalecte-fr/grammalecte-cli.py" -------------------------------------------------- diff --git a/.config/nvim/lua/plugins/grammalect.lua b/.config/nvim/lua/plugins/grammalect.lua index 2db8d13..2f65c61 100644 --- a/.config/nvim/lua/plugins/grammalect.lua +++ b/.config/nvim/lua/plugins/grammalect.lua @@ -1,3 +1,6 @@ return { "dpelle/vim-Grammalecte", + config = function() + vim.g.grammalecte_cli_py = "~/Grammalecte-fr/grammalecte-cli.py" + end }