replace nvim api commands with hibiscus macros

This commit is contained in:
Јован Ђокић-Шумарац 2024-07-16 16:22:53 +02:00
parent f77c851258
commit 9aa3dd7cb7
No known key found for this signature in database
4 changed files with 41 additions and 34 deletions

View file

@ -1 +1,4 @@
(vim.cmd "colorscheme carbonfox")
(import-macros {: set! : exec!} :hibiscus.vim)
(set! background :dark)
(exec! [colorscheme carbonfox])

View file

@ -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))

View file

@ -12,6 +12,8 @@
(lazy.setup [
:EdenEast/nightfox.nvim
:nyoom-engineering/oxocarbon.nvim
:lambdalisue/nerdfont.vim
:gelguy/wilder.nvim

View file

@ -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)