aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2023-12-27 02:55:42 +0100
committerMatěj Cepl <mcepl@cepl.eu>2023-12-28 15:55:49 +0100
commitf0a8955e61acb934787588d8bec370306f0ab2e5 (patch)
tree35b372247d608d723c7d486477d1592ddaef85a9
parenta80f683f5c0533885b6d95d8baa3b3b3bf20c05f (diff)
downloadvis-fzf-open-master.tar.gz
Fix global 'module' potentially conflicting with other pluginsHEADmaster
Of course, for the conflict to occur the other plugin would need to use the same global. Nonetheless, it's considered a good practice to use local whenever it's possible. It plays well with the trailing return module, too.
-rw-r--r--init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.lua b/init.lua
index cf6f3f9..a02266d 100644
--- a/init.lua
+++ b/init.lua
@@ -14,7 +14,7 @@
-- You should have received a copy of the GNU Lesser General Public License
-- along with this program. If not, see <https://www.gnu.org/licenses/>.
-module = {}
+local module = {}
module.fzf_path = "fzf"
module.fzf_args = ""