nvim-treesite does not load your commands #1423
-
I am using lua to do my nvim configuration, using packer I am trying to configure nvim-tree like this use {
'kyazdani42/nvim-tree.lua',
requires = {
'kyazdani42/nvim-web-devicons', -- optional, for file icons
},
config = function() require("nvim-tree").setup()
} and it doesn't work, but if I call the function "setup" from anywhere in the code (example: if I call it from init.lua ) it works. how can I make this works calling the setup from packer ? |
Beta Was this translation helpful? Give feedback.
Answered by
kyazdani42
Jul 14, 2022
Replies: 1 comment
-
@astahjmo i answered you on matrix, but you forgot to close the function with an |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
astahjmo
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@astahjmo i answered you on matrix, but you forgot to close the function with an
end
keyword