Skip to content

Commit 06131e1

Browse files
feat(injection): add elisp and shell as valid filetypes
1 parent c9876cf commit 06131e1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lua/orgmode/utils/init.lua

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -565,12 +565,14 @@ end
565565
function utils.detect_filetype(name, skip_ftmatch)
566566
local map = {
567567
['emacs-lisp'] = 'lisp',
568+
elisp = 'lisp',
568569
js = 'javascript',
569570
ts = 'typescript',
570571
md = 'markdown',
571572
ex = 'elixir',
572573
pl = 'perl',
573574
sh = 'bash',
575+
shell = 'bash',
574576
uxn = 'uxntal',
575577
}
576578
if not skip_ftmatch then

0 commit comments

Comments
 (0)