update neovim

This commit is contained in:
2026-03-07 19:09:26 +02:00
parent 6197dace5c
commit a28dafa553
4 changed files with 10 additions and 8 deletions

View File

@@ -3,10 +3,10 @@ vim.filetype.add({
['tf'] = 'terraform',
},
pattern = {
['.*/playbooks/.*%.ya?ml'] = 'yaml.ansible',
['.*/roles/.*%.ya?ml'] = 'yaml.ansible',
['.*/tasks/.*%.ya?ml'] = 'yaml.ansible',
['.*/plays/.*%.ya?ml'] = 'yaml.ansible',
['.*/playbooks/.*%.ya?ml'] = 'yaml_ansible',
['.*/roles/.*%.ya?ml'] = 'yaml_ansible',
['.*/tasks/.*%.ya?ml'] = 'yaml_ansible',
['.*/plays/.*%.ya?ml'] = 'yaml_ansible',
},
})
@@ -20,8 +20,8 @@ vim.filetype.add({
vim.filetype.add({
pattern = {
['%.gitlab%-ci%.ya?ml'] = 'yaml.gitlab',
['pipelines/.*%.ya?ml'] = 'yaml.gitlab',
['%.gitlab%-ci%.ya?ml'] = 'yaml_gitlab',
['pipelines/.*%.ya?ml'] = 'yaml_gitlab',
},
})

View File

@@ -9,7 +9,7 @@ return {
name = 'anthropic',
endpoint = 'https://api.anthropic.com/v1/messages',
model_endpoint = 'https://api.anthropic.com/v1/models',
api_key = { '/usr/local/bin/sops', '--config', '/dev/null', '-d', vim.fn.expand('$HOME') .. '/.claude-api' },
api_key = { 'sops', '--config', '/dev/null', '-d', vim.fn.expand('$HOME') .. '/.claude-api' },
headers = function(self)
return {
['Content-Type'] = 'application/json',

View File

@@ -34,3 +34,5 @@ vim.opt.colorcolumn = "80"
vim.opt.diffopt = 'internal,filler,closeoff,algorithm:histogram'
vim.opt.mouse = ''