helm/home/profiles/nvim/config/conf/init.fnl
2024-08-24 03:51:29 -07:00

30 lines
759 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)
(nvim.opt :shiftwidth 2)
(nvim.opt :autoindent)
(nvim.opt :undofile)
(nvim.opt :signcolumn "auto:4")
(nvim.opt :title)
(nvim.opt :number)
(nvim.opt :nocompatible)
(nvim.opt :relativenumber)
(nvim.opt :showtabline 2)
(nvim.opt :expandtab)
(nvim.opt :autowriteall)
(nvim.opt :lisp) ; 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)