From 903626f673118f275e74937c17ff865a0b3706b2 Mon Sep 17 00:00:00 2001 From: PlexSheep Date: Wed, 5 Jul 2023 10:20:25 +0200 Subject: [PATCH] comments --- home/.config/nvim/nvim-tree.vim | 3 +++ 1 file changed, 3 insertions(+) diff --git a/home/.config/nvim/nvim-tree.vim b/home/.config/nvim/nvim-tree.vim index b625b71..392bc5b 100644 --- a/home/.config/nvim/nvim-tree.vim +++ b/home/.config/nvim/nvim-tree.vim @@ -18,6 +18,9 @@ local function my_on_attach(bufnr) -- for some reason, this does not work well when loaded with a wsl linux. -- attempt to index field 'config' (a nil value) -- which does not make sense, as config is a defined field of the Api variable + -- however, through magic, the default keys are loaded anyways ONLY IN WSL + -- I have made a seperate branch (wsl) for any such things + -- just use a proper linux, if possible --api.config.mappings.default_on_attach(bufnr) -- custom mappings