diff options
author | Yuqian Yang <crupest@crupest.life> | 2025-03-05 00:17:51 +0800 |
---|---|---|
committer | Yuqian Yang <crupest@crupest.life> | 2025-03-05 00:17:51 +0800 |
commit | f77e7c85b1a7a18838d5c727345a1b5a5d6298b1 (patch) | |
tree | 554f2417a45b43e39622ae8e741f71357a831768 | |
parent | c3621facca485c8d6ed2b715a8b7d0d81968ea22 (diff) | |
download | crupest-f77e7c85b1a7a18838d5c727345a1b5a5d6298b1.tar.gz crupest-f77e7c85b1a7a18838d5c727345a1b5a5d6298b1.tar.bz2 crupest-f77e7c85b1a7a18838d5c727345a1b5a5d6298b1.zip |
feat(nvim): update init.lua for new features.
-rw-r--r-- | store/home/config/nvim/init.lua | 4 | ||||
-rw-r--r-- | store/home/config/nvim/lazy-lock.json | 28 | ||||
-rw-r--r-- | store/home/config/nvim/lua/crupest/nvim/plugins/lint.lua | 1 |
3 files changed, 16 insertions, 17 deletions
diff --git a/store/home/config/nvim/init.lua b/store/home/config/nvim/init.lua index 9de0b2c..d9349e1 100644 --- a/store/home/config/nvim/init.lua +++ b/store/home/config/nvim/init.lua @@ -1,11 +1,9 @@ if vim.g.neovide then -- spellchecker: disable-next-line vim.opt.guifont = "FiraCode Nerd Font"; - vim.g.neovide_window_blurred = true; - vim.g.neovide_transparency = 0.9; + 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_cursor_vfx_mode = "pixiedust"; vim.g.neovide_input_macos_option_key_is_meta = 'only_left' end diff --git a/store/home/config/nvim/lazy-lock.json b/store/home/config/nvim/lazy-lock.json index 3d08239..76f55b8 100644 --- a/store/home/config/nvim/lazy-lock.json +++ b/store/home/config/nvim/lazy-lock.json @@ -1,20 +1,20 @@ { - "LuaSnip": { "branch": "master", "commit": "0f7bbce41ea152a94d12aea286f2ce98e63c0f58" }, - "catppuccin": { "branch": "main", "commit": "faf15ab0201b564b6368ffa47b56feefc92ce3f4" }, + "LuaSnip": { "branch": "master", "commit": "c9b9a22904c97d0eb69ccb9bab76037838326817" }, + "catppuccin": { "branch": "main", "commit": "5b5e3aef9ad7af84f463d17b5479f06b87d5c429" }, "cmp-buffer": { "branch": "main", "commit": "3022dbc9166796b644a841a02de8dd1cc1d311fa" }, "cmp-cmdline": { "branch": "main", "commit": "d250c63aa13ead745e3a40f61fdd3470efde3923" }, - "cmp-nvim-lsp": { "branch": "main", "commit": "39e2eda76828d88b773cc27a3f61d2ad782c922d" }, + "cmp-nvim-lsp": { "branch": "main", "commit": "99290b3ec1322070bcfb9e846450a46f6efa50f0" }, "cmp-path": { "branch": "main", "commit": "91ff86cd9c29299a64f968ebb45846c485725f23" }, "cmp_luasnip": { "branch": "master", "commit": "98d9cb5c2c38532bd9bdb481067b20fea8f32e90" }, - "gitsigns.nvim": { "branch": "main", "commit": "5f808b5e4fef30bd8aca1b803b4e555da07fc412" }, - "lazy.nvim": { "branch": "main", "commit": "56ead98e05bb37a4ec28930a54d836d033cf00f2" }, - "lualine.nvim": { "branch": "master", "commit": "2a5bae925481f999263d6f5ed8361baef8df4f83" }, - "nvim-autopairs": { "branch": "master", "commit": "b464658e9b880f463b9f7e6ccddd93fb0013f559" }, - "nvim-cmp": { "branch": "main", "commit": "ed31156aa2cc14e3bc066c59357cc91536a2bc01" }, - "nvim-lint": { "branch": "master", "commit": "6b46370d02cd001509a765591a3ffc481b538794" }, - "nvim-lspconfig": { "branch": "master", "commit": "4ae9796c4e95ca84ec77946a9f9089b8f1a3eec9" }, - "nvim-tree.lua": { "branch": "master", "commit": "ca7c4c33cac2ad66ec69d45e465379716ef0cc97" }, - "nvim-web-devicons": { "branch": "master", "commit": "edbe0a65cfacbbfff6a4a1e98ddd60c28c560509" }, - "plenary.nvim": { "branch": "master", "commit": "2d9b06177a975543726ce5c73fca176cedbffe9d" }, - "telescope.nvim": { "branch": "master", "commit": "85922dde3767e01d42a08e750a773effbffaea3e" } + "gitsigns.nvim": { "branch": "main", "commit": "4c40357994f386e72be92a46f41fc1664c84c87d" }, + "lazy.nvim": { "branch": "main", "commit": "6c3bda4aca61a13a9c63f1c1d1b16b9d3be90d7a" }, + "lualine.nvim": { "branch": "master", "commit": "f4f791f67e70d378a754d02da068231d2352e5bc" }, + "nvim-autopairs": { "branch": "master", "commit": "68f0e5c3dab23261a945272032ee6700af86227a" }, + "nvim-cmp": { "branch": "main", "commit": "c27370703e798666486e3064b64d59eaf4bdc6d5" }, + "nvim-lint": { "branch": "master", "commit": "6e9dd545a1af204c4022a8fcd99727ea41ffdcc8" }, + "nvim-lspconfig": { "branch": "master", "commit": "84e0cd5a3c58e88ef706fdf4a1eed59ded1d3ce2" }, + "nvim-tree.lua": { "branch": "master", "commit": "c09ff35de503a41fa62465c6b4ae72d96e7a7ce4" }, + "nvim-web-devicons": { "branch": "master", "commit": "ab4cfee554e501f497bce0856788d43cf2eb93d7" }, + "plenary.nvim": { "branch": "master", "commit": "857c5ac632080dba10aae49dba902ce3abf91b35" }, + "telescope.nvim": { "branch": "master", "commit": "814f102cd1da3dc78c7d2f20f2ef3ed3cdf0e6e4" } } diff --git a/store/home/config/nvim/lua/crupest/nvim/plugins/lint.lua b/store/home/config/nvim/lua/crupest/nvim/plugins/lint.lua index 5e348d6..b819821 100644 --- a/store/home/config/nvim/lua/crupest/nvim/plugins/lint.lua +++ b/store/home/config/nvim/lua/crupest/nvim/plugins/lint.lua @@ -48,6 +48,7 @@ local function run(opt) for _, linter in ipairs(linters) do table.insert(linter_names, linter.name) require('lint.linters.' .. linter.name).cmd = linter.exe_path + vim.diagnostic.config({ virtual_text = true }, lint.get_namespace(linter.name)) end lint.try_lint(linter_names) |