Closed mosheavni closed 1 day ago
That shouldn't happen imo, sure the ftplugin runs after bufenter so it can change it but you haven't added such code, I also tried with your ftplugin and options from your dotfiles but not getting any wrapping.
Also that's a great way to customize this plugin 👏
can you create a Wiki and give me write permissions? we can start collecting cool stuff there
Done! Let me know if it's not working!
Done! Let me know if it's not working!
yay thanks!
also the wrapping issue doesn't happen anymore :)
Took a look at the wiki page, really nice post!
I want to extend the k8s_fallback ftplugin to add some custom usages. for example, if the resource is
Applications.argoproj.io
, I can click on the app and it will open a browser window of the argo app selected.I created my own
ftplugin/k8s_fallback.lua
that looks like this:but something weird is happening, the lines are wrapped when they are supposed to be not wrapped (i.e
:set nowrap
): https://github.com/Ramilito/kubectl.nvim/blob/372d2c6559801eb7a7f5dee892eb8f7af8250e15/lua/kubectl/actions/layout.lua#L9What can cause my config's wrap be set AFTER the plugin's wrap when I define my own ftplugin?