2024-08-24 03:51:29 -07:00
|
|
|
(local nvim (require :lib/nvim))
|
|
|
|
|
|
|
|
(nvim.g :mapleader " ")
|
|
|
|
|
2024-08-25 00:46:03 -07:00
|
|
|
; (nvim.opt :runtimepath (.. vim.opt.runtimepath "/home/anish/.config/nvim/,"))
|
2024-08-24 03:51:29 -07:00
|
|
|
(nvim.opt :tabstop 2)
|
2024-08-25 00:46:03 -07:00
|
|
|
(nvim.opt :showmatch true)
|
2024-08-24 03:51:29 -07:00
|
|
|
(nvim.opt :shiftwidth 2)
|
2024-08-25 00:46:03 -07:00
|
|
|
(nvim.opt :autoindent true)
|
|
|
|
(nvim.opt :undofile true)
|
2024-08-24 03:51:29 -07:00
|
|
|
(nvim.opt :signcolumn "auto:4")
|
2024-08-25 00:46:03 -07:00
|
|
|
(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)
|
2024-08-25 00:46:03 -07:00
|
|
|
(nvim.opt :expandtab true)
|
|
|
|
(nvim.opt :autowriteall true)
|
2024-08-24 03:51:29 -07:00
|
|
|
|
2024-08-25 00:46:03 -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)
|
|
|
|
(require :conf.formatting)
|