From 345d5e3759fb37a8010aaf288f9ba1b312b11ad1 Mon Sep 17 00:00:00 2001 From: Gregory Trolliet Date: Sat, 19 Oct 2024 17:02:12 +0200 Subject: [PATCH] [nvim] move grammalect config --- .config/nvim/init.lua | 1 - .config/nvim/lua/plugins/grammalect.lua | 3 +++ 2 files changed, 3 insertions(+), 1 deletion(-) 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 }