From 0f0b1ee56a5ab11b84720fc8a81d9c7b010a1c80 Mon Sep 17 00:00:00 2001 From: iGor milhit Date: Thu, 29 Jun 2023 07:21:43 +0200 Subject: [PATCH] plugin: install, configure Grammalecte - Grammalecte is a French language checker. This plugin requires the python package `Grammalecte` that provide `grammalecte-cli` and `grammalecte-server`. Co-Authored-by: iGor milhit --- lua/custom/plugins/grammalecte.lua | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 lua/custom/plugins/grammalecte.lua diff --git a/lua/custom/plugins/grammalecte.lua b/lua/custom/plugins/grammalecte.lua new file mode 100644 index 0000000..e63e826 --- /dev/null +++ b/lua/custom/plugins/grammalecte.lua @@ -0,0 +1,14 @@ +-- Plugin to get Grammalecte checks in (neo)vim. + +-- Set the path to the grammalecte-cli executable +vim.cmd([[ let g:grammalecte_cli_py = "/usr/bin/grammalecte-cli" ]]) + +return { + "dpelle/vim-Grammalecte", + ft = { + "pandoc", + "markdown", + "text", + "gitcommit" + } +}