Skip to content

Commit

Permalink
remove yaml bad pattern match
Browse files Browse the repository at this point in the history
  • Loading branch information
mosheavni committed Nov 23, 2023
1 parent ae6d120 commit 4374206
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions .config/nvim/lua/user/options.lua
Original file line number Diff line number Diff line change
Expand Up @@ -330,13 +330,5 @@ vim.filetype.add {
['.*/playbooks?/.*%.ya?ml'] = { 'yaml.ansible', { priority = 201 } },
['playbook%.ya?ml'] = { 'yaml.ansible', { priority = 201 } },
[kube_config_pattern] = 'yaml',
['.*'] = {
function()
if vim.fn.search('---', 'nw') then
return 'yaml'
end
end,
{ priority = 200 },
},
},
}

0 comments on commit 4374206

Please sign in to comment.