mirror of
https://github.com/jessebot/dot_files.git
synced 2025-10-01 01:48:43 +00:00
fix go templating filetypes in nvim
This commit is contained in:
parent
f6344059bc
commit
aca14cabde
2 changed files with 3 additions and 3 deletions
|
@ -66,11 +66,11 @@ vim.api.nvim_create_autocmd({"BufEnter", "BufWinEnter"}, {
|
|||
pattern = {
|
||||
"*/templates/*.tpl",
|
||||
"*/templates/*.yaml",
|
||||
"*/.github/workflows/*.yaml",
|
||||
"*/.github/workflows/*.yml",
|
||||
"*/.github/workflows/*.yaml"
|
||||
},
|
||||
callback = function()
|
||||
vim.cmd("set filetype=gotmpl")
|
||||
vim.cmd("set filetype=helm")
|
||||
end,
|
||||
})
|
||||
|
||||
|
|
|
@ -133,7 +133,7 @@ lspconfig.yamlls.setup {
|
|||
yaml = {
|
||||
schemas = {
|
||||
["https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.29.3-standalone-strict/all.json"] = "/manifests/*",
|
||||
["https://json.schemastore.org/github-workflow.json"] = "/.github/workflows/*",
|
||||
["https://json.schemastore.org/github-workflow.json"] = "*/.github/workflows/*",
|
||||
["https://raw.githubusercontent.com/datreeio/CRDs-catalog/main/argoproj.io/application_v1alpha1.json"] = "/*argocd_app.yaml",
|
||||
["https://raw.githubusercontent.com/datreeio/CRDs-catalog/main/argoproj.io/applicationset_v1alpha1.json"] = "/*argocd_appset.yaml",
|
||||
["https://raw.githubusercontent.com/datreeio/CRDs-catalog/main/argoproj.io/appproject_v1alpha1.json"] = "/*argocd_project.yaml",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue