if #vim.api.nvim_list_uis() == 0 then require('setup') return end vim.env.PATH = vim.fn.stdpath('data') .. '/mason/bin:' .. vim.env.PATH vim.filetype.add({ pattern = { ['.*/templates/.*%.ya?ml'] = 'helm', ['.*/manifests/.*%.ya?ml'] = 'helm', ['.*/crds/.*%.ya?ml'] = 'helm', ['.*/kubernetes/.*%.ya?ml'] = 'helm', ['.*/k8s/.*%.ya?ml'] = 'helm', ['.*/charts/.*%.ya?ml'] = 'helm', }, }) function _G.see(val) local lines = vim.split(vim.inspect(val), '\n') vim.cmd('new') vim.api.nvim_buf_set_lines(0, 0, -1, false, lines) vim.bo.buftype = 'nofile' vim.bo.bufhidden = 'wipe' end require('core.options') require('core.keymaps') require('core.events')