diff options
author | Yuqian Yang <crupest@crupest.life> | 2025-06-04 18:42:09 +0800 |
---|---|---|
committer | Yuqian Yang <crupest@crupest.life> | 2025-06-04 18:43:00 +0800 |
commit | abf1eb828f956ac95b76b252cc8fe0198090eca8 (patch) | |
tree | 5246b651fc5ddb31d74fe273b08ee2f533f8c591 /store/config/nvim/init.lua | |
parent | 30d3f94f11996259ca968e5f732f03e0d10e5233 (diff) | |
download | crupest-abf1eb828f956ac95b76b252cc8fe0198090eca8.tar.gz crupest-abf1eb828f956ac95b76b252cc8fe0198090eca8.tar.bz2 crupest-abf1eb828f956ac95b76b252cc8fe0198090eca8.zip |
chore(config): move dir.
Diffstat (limited to 'store/config/nvim/init.lua')
-rw-r--r-- | store/config/nvim/init.lua | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/store/config/nvim/init.lua b/store/config/nvim/init.lua new file mode 100644 index 0000000..95d1c30 --- /dev/null +++ b/store/config/nvim/init.lua @@ -0,0 +1,24 @@ +local lazy_path = vim.fn.stdpath("data") .. "/lazy/lazy.nvim" +if not vim.uv.fs_stat(lazy_path) then + vim.fn.system({ + "git", + "clone", + "--filter=blob:none", + "https://github.com/folke/lazy.nvim.git", + "--branch=stable", -- latest stable release + lazy_path, + }) +end +vim.opt.rtp:prepend(lazy_path) +require("lazy").setup("plugins") + +if vim.g.neovide then + vim.opt.guifont = "Maple Mono NF"; + vim.g.neovide_normal_opacity = 0.95; + vim.g.neovide_input_ime = false; + vim.g.neovide_cursor_animate_in_insert_mode = false + vim.g.neovide_input_macos_option_key_is_meta = 'only_left' + vim.cmd("colorscheme catppuccin-macchiato") +end + +require("setup").setup() |