We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent af221f9 commit 27b993eCopy full SHA for 27b993e
1 file changed
lua/opencode/util.lua
@@ -400,6 +400,7 @@ function M.get_markdown_filetype(filename)
400
typescriptreact = 'tsx',
401
sh = 'bash',
402
yaml = 'yml',
403
+ text = 'txt', -- nvim 0.12-nightly returns text as the type which breaks our unit tests
404
}
405
406
local file_type = vim.filetype.match({ filename = filename }) or ''
0 commit comments