Skip to content

Commit

Permalink
update hotpot and cmp-dictionary settings
Browse files Browse the repository at this point in the history
  • Loading branch information
Cassin01 committed Mar 17, 2024
1 parent 0457d10 commit cbbddba
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 22 deletions.
39 changes: 20 additions & 19 deletions fnl/plugs.fnl
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,9 @@
[:d (cmd "Fern %:h -drawer -toggle") "open fern on a parent directory of a current buffer"]])
)}

; {1 :stevearc/oil.nvim
; :config (lambda [] (ref-f :setup :oil))
; }
{1 :stevearc/oil.nvim
:config (lambda [] (ref-f :setup :oil))
}
; {1 :kyazdani42/nvim-tree.lua ; INFO: startup time
; :dependencies :nvim-tree/nvim-web-devicons
; :disabe true
Expand Down Expand Up @@ -114,7 +114,7 @@
; :config (la (ref-f :setup :incline))}
; {1 :feline-nvim/feline.nvim
; :init (la (ref-f :setup :feline)
; ((-> (require :feline) (. :winbar) (. setup))))}
; ((-> (require :feline) (. :winbar) (. :setup))))}
; {1 :nvim-lualine/lualine.nvim
; :event ["User plug-lazy-load"]
; :config (la (ref-f :setup :lualine {:options {:globalstatus true}}))
Expand Down Expand Up @@ -201,6 +201,7 @@
(prefix.map :h "<cmd>Telescope help_tags<cr>" "help tags")
(prefix.map :t "<cmd>Telescope<cr>" "telescope")
(prefix.map :o "<cmd>Telescope oldfiles<cr>" "old files")
(prefix.map :c "<cmd>Telescope colorscheme<cr>" "colorscheme")
(prefix.map :r "<cmd>Telescope file_browser<cr>" "file_browser"))}

{1 :nvim-telescope/telescope-file-browser.nvim
Expand All @@ -223,8 +224,7 @@

{1 :Cassin01/wf.nvim
:event ["User plug-lazy-load"]
:branch :develop
; :branch :new_feat
:branch :Fixes#105
; :version :update
:config (la (ref-f :setup :wf {:theme :chad})
(require :user))}
Expand Down Expand Up @@ -486,15 +486,11 @@
:config (λ []
(local path (vim.fn.expand "~/.config/nvim/data/aspell/en.dict"))
(ref-f :setup :cmp_dictionary
{
:dic {:* [:/usr/share/dict/words]
:spelllang {:en path}
}
:first_case_insensitive true
:document true
:async true
})
(ref-f :update :cmp_dictionary))}
{:paths [:/usr/share/dict/words]
:first_case_insensitive true
:document {
:enable true
:command [ "wn" "${label}" "-over" ]}}))}
{1 :Cassin01/cmp-gitcommit
:dependencies :nvim-cmp
:config (λ []
Expand Down Expand Up @@ -707,7 +703,8 @@
:sidebar
[[:t (cmd :SidebarNvimToggle) :toggle]
[:f (cmd :SidebarNvimFocus) :focus]]))
:rocks [:luatz]}
;:rocks [:luatz]
}

; {1 :hrsh7th/vim-vsnip
; :disable true
Expand Down Expand Up @@ -894,6 +891,10 @@
; :config (lambda [] (ref-f :setup :portal))
; }

{1 :andymass/vim-matchup
:event ["User plug-lazy-load"]
:config (la (tset (. vim :g) :matchup_matchparen_offscreen {:method :popup}))}

;; mark
{1 :kshenoy/vim-signature
:event ["User plug-lazy-load"]
Expand Down Expand Up @@ -1132,8 +1133,8 @@
(tset vim.g :vim_markdown_conceal_code_blocks false))}

{1 :iamcco/markdown-preview.nvim
:build "cd app & yarn install"
:config (λ []
:build "cd app && yarn install"
:init (λ []
(tset vim.g :mkdp_filetypes [:markdown])
(tset vim.g :mkdp_auto_close false)
(tset vim.g :mkdp_preview_options {:katex {}
Expand Down Expand Up @@ -1168,7 +1169,7 @@
; (vim.api.nvim_command "colorscheme catppuccin-macchiato"))
}

;; color
;;; color
; {1 :ujihisa/unite-colorscheme
; :event ["User plug-lazy-load"]
; :dependencies [:Shougo/unite.vim]}
Expand Down
12 changes: 9 additions & 3 deletions init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ if not vim.loop.fs_stat(hotpotpath) then
"clone",
"--filter=blob:none",
"--single-branch",
"--branch=v0.9.6",
"--branch=master",
"https://github.com/rktjmp/hotpot.nvim.git",
hotpotpath,
})
Expand All @@ -35,7 +35,7 @@ vim.opt.runtimepath:prepend({lazypath, hotpotpath})

require("hotpot")

if _G.__kaza == nil then
if _G["__kaza"] == nil then
require("kaza").setup()
end

Expand All @@ -47,5 +47,11 @@ require("lazy").setup(require("plugs"))
-- my settings
require("setup")


-- vim.cmd([[colorscheme tokyonight]])
vim.cmd([[colorscheme nord]])
-- vim.cmd([[colorscheme lunaperche]])
-- vim.cmd([[colorscheme nord]])
vim.cmd([[colorscheme nova]])

-- vim.cmd([[set background=light]])
-- vim.cmd([[colorscheme morning]])

0 comments on commit cbbddba

Please sign in to comment.