This commit is contained in:
secretspecter 2023-08-01 22:56:30 -06:00
parent 2e3c359d9a
commit de5db73271
4 changed files with 10 additions and 5 deletions

View file

@ -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

View file

@ -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})]

View file

@ -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,

View file

@ -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,
})