diff options
| author | bh <qn+git@excalibur.computer> | 2025-11-19 16:09:08 +0800 |
|---|---|---|
| committer | bh <qn+git@excalibur.computer> | 2025-11-19 16:09:08 +0800 |
| commit | 7135b926ce011c34de5a68afb2b4bf8396f76123 (patch) | |
| tree | 346c1642904211354303719f05c189383cc4e2eb /lua | |
| parent | 5e80cc2081ec616c828a0abe82d246c4dc0a4334 (diff) | |
Improved Theming of the Config
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/config/treesitter.lua | 2 | ||||
| -rw-r--r-- | lua/plugins/init.lua | 58 |
2 files changed, 31 insertions, 29 deletions
diff --git a/lua/config/treesitter.lua b/lua/config/treesitter.lua index a38d5c0..897f758 100644 --- a/lua/config/treesitter.lua +++ b/lua/config/treesitter.lua @@ -19,7 +19,7 @@ return function() auto_install = true, highlight = { enable = true, - disable = {}, + disable = {"latex"}, additional_vim_regex_highlighting = false, }, indent = { diff --git a/lua/plugins/init.lua b/lua/plugins/init.lua index bec9119..d9bf221 100644 --- a/lua/plugins/init.lua +++ b/lua/plugins/init.lua @@ -35,39 +35,40 @@ return { end }, - { - "hrsh7th/nvim-cmp", - event = "InsertEnter", -- lazy load when entering insert mode - dependencies = { - "hrsh7th/cmp-nvim-lsp", - "hrsh7th/cmp-buffer", - "hrsh7th/cmp-path", - "saadparwaiz1/cmp_luasnip", - "L3MON4D3/LuaSnip", - "rafamadriz/friendly-snippets", - "onsails/lspkind.nvim", - }, - config = function() - require("config.completion")() -- load the separate config file - end, + -- Auto Completion + { + "hrsh7th/nvim-cmp", + event = "InsertEnter", -- lazy load when entering insert mode + dependencies = { + "hrsh7th/cmp-nvim-lsp", + "hrsh7th/cmp-buffer", + "hrsh7th/cmp-path", + "saadparwaiz1/cmp_luasnip", + "L3MON4D3/LuaSnip", + "rafamadriz/friendly-snippets", + "onsails/lspkind.nvim", }, + config = function() + require("config.completion")() -- load the separate config file + end, + }, -- Autocompletion - { "hrsh7th/nvim-cmp" }, - { "hrsh7th/cmp-nvim-lsp" }, + -- { "hrsh7th/nvim-cmp" }, + -- { "hrsh7th/cmp-nvim-lsp" }, -- Snippets - { - "L3MON4D3/LuaSnip", - version = "v2.*", - dependencies = { "rafamadriz/friendly-snippets" }, - build = "make install_jsregexp", - config = function() - -- Call the returned function from your module - require("config.luasnip")() - end, - }, + { + "L3MON4D3/LuaSnip", + version = "v2.*", + dependencies = { "rafamadriz/friendly-snippets" }, + build = "make install_jsregexp", + config = function() + -- Call the returned function from your module + require("config.luasnip")() + end, + }, -- File Explorer { "nvim-tree/nvim-tree.lua", config = require("config.tree") }, @@ -113,6 +114,7 @@ return { -- Themes "martinsione/darkplus.nvim", "folke/tokyonight.nvim", - "navarasu/onedark.nvim" + "navarasu/onedark.nvim", + "EdenEast/nightfox.nvim" } |
