From 991091228f9e403015edd0106ccfc3a0ce62e304 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Chlo=C3=A9=20Vulquin?= Date: Wed, 24 Jul 2024 22:10:02 +0200 Subject: 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. --- dot_config/nvim/post.lua | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'dot_config/nvim/post.lua') 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 -- cgit v1.2.3