helm/home/profiles/nvim/config/fnl/conf/init.fnl
2024-08-25 00:46:03 -07:00

30 lines
808 B
Fennel

(local nvim (require :lib/nvim))
(nvim.g :mapleader " ")
; (nvim.opt :runtimepath (.. vim.opt.runtimepath "/home/anish/.config/nvim/,"))
(nvim.opt :tabstop 2)
(nvim.opt :showmatch true)
(nvim.opt :shiftwidth 2)
(nvim.opt :autoindent true)
(nvim.opt :undofile true)
(nvim.opt :signcolumn "auto:4")
(nvim.opt :title true)
(nvim.opt :number true)
; (nvim.opt :nocompatible)
(nvim.opt :relativenumber true)
(nvim.opt :showtabline 2)
(nvim.opt :expandtab true)
(nvim.opt :autowriteall true)
(nvim.opt :lisp true) ; include - in word to move better in snake-case)
(nvim.g :sexp_filetypes "clojure,scheme,lisp,janet,fennel,yuck") ; include the lisps I use
(nvim.opt :termguicolors)
(nvim.colorscheme "ayu-mirage")
(require :conf.plugins)
(require :conf.mappings)
(require :conf.lsp)
(require :conf.formatting)