helm/home/profiles/nvim/config/fnl/conf/init.fnl

41 lines
1.1 KiB
Plaintext
Raw Normal View History

2024-08-24 03:51:29 -07:00
(local nvim (require :lib/nvim))
(nvim.g :mapleader " ")
; (nvim.opt :runtimepath (.. vim.opt.runtimepath "/home/anish/.config/nvim/,"))
2024-08-24 03:51:29 -07:00
(nvim.opt :tabstop 2)
(nvim.opt :showmatch true)
2024-08-24 03:51:29 -07:00
(nvim.opt :shiftwidth 2)
(nvim.opt :autoindent true)
(nvim.opt :undofile true)
2024-08-24 03:51:29 -07:00
(nvim.opt :signcolumn "auto:4")
(nvim.opt :title true)
(nvim.opt :number true)
; (nvim.opt :nocompatible)
(nvim.opt :relativenumber true)
2024-08-24 03:51:29 -07:00
(nvim.opt :showtabline 2)
(nvim.opt :expandtab true)
(nvim.opt :autowriteall true)
2024-08-25 23:44:07 -07:00
(nvim.opt :cmdheight 2)
(nvim.opt :spelllang "en_gb")
(nvim.opt :ignorecase true)
(nvim.opt :smartcase true)
(nvim.opt :incsearch true)
(nvim.opt :updatetime 300) ; Diagnostics response time
(nvim.opt :signcolumn "yes")
(nvim.opt :cursorline true)
2024-08-24 03:51:29 -07:00
(nvim.opt :lisp true) ; include - in word to move better in snake-case)
2024-08-24 03:51:29 -07:00
(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)
2024-08-25 23:44:07 -07:00
(require :conf.plugins.cmp)
; (require :conf.formatting)
; (require :conf.kitaab)