From de5db73271dce9b832520cd6e04dff91c03fa027 Mon Sep 17 00:00:00 2001 From: Secret Specter Date: Tue, 1 Aug 2023 22:56:30 -0600 Subject: [PATCH] idk --- README.md | 6 ++++-- fnl/personalize.fnl | 2 +- ftdetect/gemini.lua | 2 ++ ftdetect/markdown.lua | 5 +++-- 4 files changed, 10 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 196f4ea..fa4fc04 100644 --- a/README.md +++ b/README.md @@ -5,8 +5,8 @@ It behaves like VSCodium but it's configured with a LISP. ## How - [hotpot](https://github.com/rktjmp/hotpot.nvim) is downloaded if not found via `init.lua` (to the `lazy` packages folder so it can be managed from there later) -- `fnl/init.fnl` is required from `init.lua` -- `fnl/init.fnl` wires up [`lazy.nvim`](https://github.com/folke/lazy.nvim) for package management +- `fnl/init.fnl` is required from `init.lua` `fnl/init.fnl` wires up +- [`lazy.nvim`](https://github.com/folke/lazy.nvim) for package management ## Features @@ -14,6 +14,8 @@ It behaves like VSCodium but it's configured with a LISP. - Language Server Protocols via [mason](https://github.com/williamboman/mason.nvim) - Fuzzy finding via [telescope](https://github.com/nvim-telescope/telescope.nvim) - Completion and snippets via [nvim-cmp](https://github.com/hrsh7th/nvim-cmp) +- what Inside +- this like ## Dependencies diff --git a/fnl/personalize.fnl b/fnl/personalize.fnl index da33e5c..133db5f 100644 --- a/fnl/personalize.fnl +++ b/fnl/personalize.fnl @@ -7,7 +7,7 @@ (set vim.opt.colorcolumn "80,120") (vim.cmd.colorscheme :everforest) ;; http://neovim.io/doc/user/change.html#fo-table - (set vim.o.formatoptions :tcro) + (set vim.o.formatoptions :tncro) (set vim.o.conceallevel 2)) :keymap (fn [] (let [nmap #(vim.keymap.set [:n] $1 $2 {:desc $3})] diff --git a/ftdetect/gemini.lua b/ftdetect/gemini.lua index 0c5b62f..ec67862 100644 --- a/ftdetect/gemini.lua +++ b/ftdetect/gemini.lua @@ -4,8 +4,10 @@ vim.api.nvim_create_autocmd({ "BufNewFile", "BufFilePost", "BufRead" }, { vim.bo.filetype = "gemini" vim.bo.syntax = "gemini" vim.bo.textwidth = 0 + vim.bo.comments = "" vim.o.colorcolumn = "" vim.o.wrap = true + vim.opt.listchars = {"*"} vim.keymap.set({"n"}, "j", "gj") vim.keymap.set({"n"}, "k", "gk") end, diff --git a/ftdetect/markdown.lua b/ftdetect/markdown.lua index 2f50fec..dd6c7c4 100644 --- a/ftdetect/markdown.lua +++ b/ftdetect/markdown.lua @@ -5,7 +5,8 @@ vim.api.nvim_create_autocmd({ "BufNewFile", "BufFilePost", "BufRead" }, { vim.bo.syntax = "markdown" vim.o.colorcolumn = "80" vim.o.textwidth = 80 - -- autoformating is nice but it fucks with lists and other things kinda - -- vim.o.formatoptions = vim.o.formatoptions .. "a" + -- vim.o.formatoptions = vim.o.formatoptions .. "na" + -- TODO what's the proper spell for this shit + -- vim.opt.formatlistpat = "^\s*-" end, })