From 80cf84259c59c04e9649b91cc989de9214688502 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" + } +}