replace nvim api commands with hibiscus macros
This commit is contained in:
parent
f77c851258
commit
9aa3dd7cb7
|
@ -1 +1,4 @@
|
|||
(vim.cmd "colorscheme carbonfox")
|
||||
(import-macros {: set! : exec!} :hibiscus.vim)
|
||||
|
||||
(set! background :dark)
|
||||
(exec! [colorscheme carbonfox])
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
(import-macros {: set!} :hibiscus.vim)
|
||||
(import-macros {: set! : g!} :hibiscus.vim)
|
||||
|
||||
(set! number true) ; enable line number
|
||||
(set! relativenumber true) ; enable relative line number
|
||||
|
@ -37,3 +37,37 @@
|
|||
(set! signcolumn :yes:1)
|
||||
(set! shell :/bin/zsh)
|
||||
(set! splitright false)
|
||||
|
||||
|
||||
; Skip loading of following neovim builtins
|
||||
(local default_plugins {
|
||||
:2html_plugin
|
||||
:getscript
|
||||
:getscriptPlugin
|
||||
:gzip
|
||||
:logipat
|
||||
:netrw
|
||||
:netrwPlugin
|
||||
:netrwSettings
|
||||
:netrwFileHandlers
|
||||
:matchit
|
||||
:tar
|
||||
:tarPlugin
|
||||
:rrhelper
|
||||
:spellfile_plugin
|
||||
:vimball
|
||||
:vimballPlugin
|
||||
:zip
|
||||
:zipPlugin
|
||||
:tutor
|
||||
:rplugin
|
||||
:syntax
|
||||
:synmenu
|
||||
:optwin
|
||||
:compiler
|
||||
:bugreport
|
||||
:ftplugin })
|
||||
|
||||
(each [_ plug (ipairs default_plugins)]
|
||||
(g! (.. :loaded plug) 1))
|
||||
|
||||
|
|
|
@ -12,6 +12,8 @@
|
|||
|
||||
(lazy.setup [
|
||||
:EdenEast/nightfox.nvim
|
||||
:nyoom-engineering/oxocarbon.nvim
|
||||
|
||||
:lambdalisue/nerdfont.vim
|
||||
:gelguy/wilder.nvim
|
||||
|
||||
|
|
32
init.fnl
32
init.fnl
|
@ -22,38 +22,6 @@
|
|||
(g! neovide_cursor_animate_in_insert_mode true)
|
||||
(g! neovide_cursor_vfx_mode "ripple")))
|
||||
|
||||
; Skip loading of following neovim builtins
|
||||
(local default_plugins {
|
||||
:2html_plugin
|
||||
:getscript
|
||||
:getscriptPlugin
|
||||
:gzip
|
||||
:logipat
|
||||
:netrw
|
||||
:netrwPlugin
|
||||
:netrwSettings
|
||||
:netrwFileHandlers
|
||||
:matchit
|
||||
:tar
|
||||
:tarPlugin
|
||||
:rrhelper
|
||||
:spellfile_plugin
|
||||
:vimball
|
||||
:vimballPlugin
|
||||
:zip
|
||||
:zipPlugin
|
||||
:tutor
|
||||
:rplugin
|
||||
:syntax
|
||||
:synmenu
|
||||
:optwin
|
||||
:compiler
|
||||
:bugreport
|
||||
:ftplugin })
|
||||
|
||||
(each [id plug (ipairs default_plugins)]
|
||||
(g! (.. :loaded plug) 1))
|
||||
|
||||
|
||||
(require :plugins)
|
||||
(require :options)
|
||||
|
|
Loading…
Reference in a new issue