Andrew Zhukovskiy
Andrew Zhukovskiy
Apparently (https://github.com/kubernetes/kops/issues/5767), right now kops (or kubernetes itself) does not allow custom node names. My current workflow with grafana dashboard now looks like this: I run `kubectl get nodes -l...
Could you please briefly describe how one would go about implementing this?
What I finally came up with is this: 
``` :set rtp? runtimepath=~/.config/nvim,~/.local/share/nvim/lazy/lazy.nvim,~/.local/share/nvim/lazy/LuaSnip,~/.local/share/nvim/lazy/nvim-cmp,~/.local/share/nvim/lazy/telescope-live-grep-args.nvim,~/. local/share/nvim/lazy/nvim-web-devicons,~/.local/share/nvim/lazy/telescope.nvim,~/.local/share/nvim/lazy/nvim-treesitter-pyfold,~/.local/share/nvim/lazy/lsp-zero.nvim,~/.local/share/nvim/la zy/mason-lspconfig.nvim,~/.local/share/nvim/lazy/cmp-nvim-lsp,~/.local/share/nvim/lazy/nvim-lspconfig,~/.local/share/nvim/lazy/vim-tmux-navigator,~/.local/share/nvim/lazy/git-blame.nvim,~/. local/share/nvim/lazy/vim-repeat,~/.local/share/nvim/lazy/vim-surround,~/.local/share/nvim/lazy/which-key.nvim,~/.local/share/nvim/lazy/auto-save.nvim,~/.local/share/nvim/lazy/plenary.nvim, ~/.local/share/nvim/lazy/harpoon,~/.local/share/nvim/lazy/vim-gitgutter,~/.local/share/nvim/lazy/copilot.vim,~/.local/share/nvim/lazy/mason.nvim,~/.local/share/nvim/lazy/nvim-treesitter,~/. local/share/nvim/lazy/dressing.nvim,~/.local/share/nvim/lazy/auto-dark-mode.nvim,~/.local/share/nvim/lazy/catppuccin,/usr/local/Cellar/neovim/0.9.5/share/nvim/runtime,/usr/local/Cellar/neov im/0.9.5/share/nvim/runtime/pack/dist/opt/matchit,/usr/local/Cellar/neovim/0.9.5/lib/nvim,~/.local/state/nvim/lazy/readme,~/.local/share/nvim/lazy/cmp-nvim-lsp/after,~/.local/share/nvim/laz y/catppuccin/after ```
``` :lua =vim.api.nvim_get_runtime_file('**/nvim-treesitter-pyfold/queries/python/folds.scm', false) {} ``` ``` :lua =vim.api.nvim_get_runtime_file('queries/python/folds.scm', false) { "/Users/foo/.local/share/nvim/lazy/nvim-treesitter-pyfold/queries/python/folds.scm" } ```
So looks like the issue is with [rtp_search_str](https://github.com/eddiebergman/nvim-treesitter-pyfold/blob/f0d31fc70e8f8fed43ef745814317eab653454de/lua/nvim-treesitter-pyfold/folding.lua#L9), however, I'm not sure what the proper fix would be
For now I worked around the issue by configuring the plugin as ```lua { "eddiebergman/nvim-treesitter-pyfold", ft = "python", config = function() vim.opt.runtimepath:append('~/.local/share/nvim') end }, ``` but now first opened python...
Yeah, no, manually changing my local copy of `folding.lua` to spell `local rtp_search_str = 'queries/python/folds.scm'` fixes the issue, and the file now opens instantly. The only fix that comes to...
My final workaround is to set it up like this: ```lua { "eddiebergman/nvim-treesitter-pyfold", ft = "python", config = function() require('nvim-treesitter-pyfold/folding').cache['fold_path'] = vim.api.nvim_get_runtime_file('queries/python/folds.scm', false)[1] end }, ```
Ah, no, scratch that, it didn't work: for some reason, table that I mutate and table that is being used when python file is opened are different tables with different...