fix finder highlight in grep
This commit is contained in:
15
init.lua
15
init.lua
@@ -7,10 +7,23 @@ vim.env.PATH = vim.fn.stdpath('data') .. '/mason/bin:' .. vim.env.PATH
|
||||
|
||||
vim.filetype.add({
|
||||
pattern = {
|
||||
['.*/templates/.*%.ya?ml'] = 'yaml.helm-values',
|
||||
['.*/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')
|
||||
|
||||
Reference in New Issue
Block a user