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 ## 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) - [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` is required from `init.lua` `fnl/init.fnl` wires up
- `fnl/init.fnl` wires up [`lazy.nvim`](https://github.com/folke/lazy.nvim) for package management - [`lazy.nvim`](https://github.com/folke/lazy.nvim) for package management
## Features ## 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) - Language Server Protocols via [mason](https://github.com/williamboman/mason.nvim)
- Fuzzy finding via [telescope](https://github.com/nvim-telescope/telescope.nvim) - Fuzzy finding via [telescope](https://github.com/nvim-telescope/telescope.nvim)
- Completion and snippets via [nvim-cmp](https://github.com/hrsh7th/nvim-cmp) - Completion and snippets via [nvim-cmp](https://github.com/hrsh7th/nvim-cmp)
- what Inside
- this like
## Dependencies ## Dependencies

View file

@ -7,7 +7,7 @@
(set vim.opt.colorcolumn "80,120") (set vim.opt.colorcolumn "80,120")
(vim.cmd.colorscheme :everforest) (vim.cmd.colorscheme :everforest)
;; http://neovim.io/doc/user/change.html#fo-table ;; http://neovim.io/doc/user/change.html#fo-table
(set vim.o.formatoptions :tcro) (set vim.o.formatoptions :tncro)
(set vim.o.conceallevel 2)) (set vim.o.conceallevel 2))
:keymap (fn [] :keymap (fn []
(let [nmap #(vim.keymap.set [:n] $1 $2 {:desc $3})] (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.filetype = "gemini"
vim.bo.syntax = "gemini" vim.bo.syntax = "gemini"
vim.bo.textwidth = 0 vim.bo.textwidth = 0
vim.bo.comments = ""
vim.o.colorcolumn = "" vim.o.colorcolumn = ""
vim.o.wrap = true vim.o.wrap = true
vim.opt.listchars = {"*"}
vim.keymap.set({"n"}, "j", "gj") vim.keymap.set({"n"}, "j", "gj")
vim.keymap.set({"n"}, "k", "gk") vim.keymap.set({"n"}, "k", "gk")
end, end,

View file

@ -5,7 +5,8 @@ vim.api.nvim_create_autocmd({ "BufNewFile", "BufFilePost", "BufRead" }, {
vim.bo.syntax = "markdown" vim.bo.syntax = "markdown"
vim.o.colorcolumn = "80" vim.o.colorcolumn = "80"
vim.o.textwidth = 80 vim.o.textwidth = 80
-- autoformating is nice but it fucks with lists and other things kinda -- vim.o.formatoptions = vim.o.formatoptions .. "na"
-- vim.o.formatoptions = vim.o.formatoptions .. "a" -- TODO what's the proper spell for this shit
-- vim.opt.formatlistpat = "^\s*-"
end, end,
}) })