From 1e5081213fcb4eadb1781d0dbfdaea46f1e485e2 Mon Sep 17 00:00:00 2001 From: Julien Lamarche Date: Sun, 14 Nov 2021 13:24:49 -0500 Subject: [PATCH 1/2] README.md added trouble shooting instructions if plugin is not loaded --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index e77065c..7b16c90 100644 --- a/README.md +++ b/README.md @@ -53,6 +53,18 @@ Default: 'bottom' `:RufoToggle` - enable/disable auto formatting +## Troubleshooting + +If the plugin does not seem to be loading, make sure you are not using `vim.tiny`. + +``` +$ ls -l /etc/alternatives/vi +lrwxrwxrwx 1 root root 17 jui 22 15:46 /etc/alternatives/vi -> /usr/bin/vim.tiny +``` + +On Linux Mint 20.2, installing the `vim-runtime` package will fix this. + + ## [Contributors](https://github.com/ruby-formatter/rufo-vim/graphs/contributors) * Frank (https://github.com/thenoseman) * Peter Leitzen (https://github.com/splattael) From f75dc6c537881c7e0465e5aa85cd9f19d809a792 Mon Sep 17 00:00:00 2001 From: Julien Lamarche Date: Sun, 14 Nov 2021 13:26:03 -0500 Subject: [PATCH 2/2] puntuation fix --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 7b16c90..45e1af7 100644 --- a/README.md +++ b/README.md @@ -55,7 +55,7 @@ Default: 'bottom' ## Troubleshooting -If the plugin does not seem to be loading, make sure you are not using `vim.tiny`. +If the plugin does not seem to be loading, make sure you are not using `vim.tiny` : ``` $ ls -l /etc/alternatives/vi