summaryrefslogtreecommitdiff
path: root/dot_config/nvim/post.lua
diff options
context:
space:
mode:
authorChloƩ Vulquin <code@toast.bunkerlabs.net>2024-07-24 22:10:02 +0200
committerChloƩ Vulquin <code@toast.bunkerlabs.net>2024-07-24 22:10:02 +0200
commit991091228f9e403015edd0106ccfc3a0ce62e304 (patch)
tree44aa6357e395766f1a340fee08aea546ae69c16c /dot_config/nvim/post.lua
parentnvim: add empty? and update group (diff)
nvim: continue fennel porting
Yeah I'm lazy but these are my dotfiles. A quick summary: * plugins.lsp.attach is now ported * toast.core is reorganized * new nil? and number? checks * new assoc function * new toast.table.unpack function (cross lua compat) * toast.macros.tbl now uses assoc instead of from-pairs and group * apparently I had forgotten to add {pre,post,init}.fnl before, so that's done now Still todo: ftplugin, colors.
Diffstat (limited to '')
-rw-r--r--dot_config/nvim/post.lua9
1 files changed, 6 insertions, 3 deletions
diff --git a/dot_config/nvim/post.lua b/dot_config/nvim/post.lua
index 27ce67e..3650d37 100644
--- a/dot_config/nvim/post.lua
+++ b/dot_config/nvim/post.lua
@@ -1,3 +1,6 @@
--- custom filetypes
-vim.filetype.add {extension = { janet = 'janet' }}
-vim.filetype.add {extension = { cls = 'latex' }}
+-- [nfnl] Compiled from post.fnl by https://github.com/Olical/nfnl, do not edit.
+local fts = {{extension = {janet = "janet"}}, {extension = {cls = "latex"}}}
+for _, v in ipairs(fts) do
+ vim.filetype.add(v)
+end
+return nil