dotfiles/mzte-nv/conf/filetype.fnl

15 lines
807 B
Plaintext
Raw Normal View History

2023-04-16 18:39:18 +02:00
(vim.filetype.add {:extension {:cgt (fn [path bufnr]
2023-02-18 00:35:59 +01:00
(local trimmed (path:gsub :.cgt$ ""))
(vim.filetype.match {:filename trimmed
: bufnr}))
;; nvim defaults to scheme
:rkt :racket
:rktl :racket
2023-04-03 14:48:42 +02:00
:rktd :racket
;; nvim doesn't know zon
2023-05-07 21:50:18 +02:00
:zon :zig
;; Default to Common Lisp instead of just using generic Lisp
2023-05-13 12:42:35 +02:00
:lisp :commonlisp
;; Roswell scripts
:ros :commonlisp}})