summaryrefslogtreecommitdiff
path: root/lua/plugins/.bak
diff options
context:
space:
mode:
authorbh <qn+git@excalibur.computer>2025-11-12 23:57:20 +0800
committerbh <qn+git@excalibur.computer>2025-11-12 23:57:20 +0800
commitcc5ca2e8c8fa3cf2e60321fdb0cb4ddb66551ff2 (patch)
treef6173f63d1bd48710728817bd338838654ec60de /lua/plugins/.bak
Initial Commit
Diffstat (limited to 'lua/plugins/.bak')
-rw-r--r--lua/plugins/.bak/.init.lua.bak119
-rw-r--r--lua/plugins/.bak/old.lua.bak104
2 files changed, 223 insertions, 0 deletions
diff --git a/lua/plugins/.bak/.init.lua.bak b/lua/plugins/.bak/.init.lua.bak
new file mode 100644
index 0000000..394b181
--- /dev/null
+++ b/lua/plugins/.bak/.init.lua.bak
@@ -0,0 +1,119 @@
+-- Plugins
+return {
+
+ -- Nvim Tree
+ "nvim-tree/nvim-tree.lua",
+
+ -- Icons
+ "nvim-tree/nvim-web-devicons",
+
+ -- Color Picker
+ "uga-rosa/ccc.nvim",
+
+ -- Status Bar
+ 'nvim-lualine/lualine.nvim',
+
+ -- Neoscroll
+ "karb94/neoscroll.nvim",
+ opts = {},
+
+
+ -- Telescope
+ {
+ 'nvim-telescope/telescope.nvim', tag = '0.1.8',
+ -- or , branch = '0.1.x',
+ dependencies = { 'nvim-lua/plenary.nvim' }
+ },
+
+ -- LSP
+
+
+ -- LaTeX
+ {
+ "lervag/vimtex",
+ ft = "tex",
+ init = function()
+ -- Use Zathura as the PDF viewer
+ vim.g.vimtex_view_method = "zathura"
+
+ -- Compile using latexmk automatically
+ vim.g.vimtex_compiler_method = "latexmk"
+ vim.g.vimtex_compiler_latexmk = {
+ build_dir = "build", -- optional: keep files in a separate folder
+ callback = 1,
+ continuous = 1, -- automatically recompile on save
+ executable = "latexmk",
+ options = {
+ "-pdf",
+ "-interaction=nonstopmode",
+ "-synctex=1",
+ },
+ }
+
+ -- Optional: disable conceal for clearer LaTeX text
+ vim.g.vimtex_syntax_conceal = {
+ accents = 0,
+ ligatures = 0,
+ cites = 0,
+ fancy = 0,
+ spacing = 0,
+ greek = 0,
+ math_delimiters = 0,
+ math_super_sub = 0,
+ }
+ end,
+ },
+
+ -- LSP support
+ {
+ "neovim/nvim-lspconfig",
+ config = function()
+ require("lspconfig").texlab.setup({})
+ end,
+ },
+
+ -- Autocompletion (optional)
+ { "hrsh7th/nvim-cmp" },
+ { "hrsh7th/cmp-nvim-lsp" },
+
+ -- Snippets (optional)
+ { "L3MON4D3/LuaSnip" },
+
+ -- Grammar & spell checking
+ { "rhysd/vim-grammarous", ft = "tex" },
+
+
+ -- Tab Bar
+ {'romgrk/barbar.nvim',
+ dependencies = {
+ 'lewis6991/gitsigns.nvim', -- OPTIONAL: for git status
+ 'nvim-tree/nvim-web-devicons', -- OPTIONAL: for file icons
+ },
+ init = function() vim.g.barbar_auto_setup = false end,
+ opts = {
+ -- lazy.nvim will automatically call setup for you. put your options here, anything missing will use the default:
+ -- animation = true,
+ -- insert_at_start = true,
+ -- …etc.
+ },
+ version = '^1.0.0', -- optional: only update when a new 1.x version is released
+ },
+
+ -- Dashboard
+ {
+ 'nvimdev/dashboard-nvim',
+ event = 'VimEnter',
+ config = function()
+ require('dashboard').setup {
+ -- config
+ }
+ end,
+ dependencies = { {'nvim-tree/nvim-web-devicons'}}
+ },
+
+ -- THEMES
+ "martinsione/darkplus.nvim",
+ "folke/tokyonight.nvim",
+ "navarasu/onedark.nvim"
+
+}
diff --git a/lua/plugins/.bak/old.lua.bak b/lua/plugins/.bak/old.lua.bak
new file mode 100644
index 0000000..e1f3946
--- /dev/null
+++ b/lua/plugins/.bak/old.lua.bak
@@ -0,0 +1,104 @@
+-- Plugins
+return {
+
+
+
+ -- Telescope
+ {
+ 'nvim-telescope/telescope.nvim', tag = '0.1.8',
+ -- or , branch = '0.1.x',
+ dependencies = { 'nvim-lua/plenary.nvim' }
+ },
+
+ -- LSP
+
+
+ -- LaTeX
+ {
+ "lervag/vimtex",
+ ft = "tex",
+ init = function()
+ -- Use Zathura as the PDF viewer
+ vim.g.vimtex_view_method = "zathura"
+
+ -- Compile using latexmk automatically
+ vim.g.vimtex_compiler_method = "latexmk"
+ vim.g.vimtex_compiler_latexmk = {
+ build_dir = "build", -- optional: keep files in a separate folder
+ callback = 1,
+ continuous = 1, -- automatically recompile on save
+ executable = "latexmk",
+ options = {
+ "-pdf",
+ "-interaction=nonstopmode",
+ "-synctex=1",
+ },
+ }
+
+ -- Optional: disable conceal for clearer LaTeX text
+ vim.g.vimtex_syntax_conceal = {
+ accents = 0,
+ ligatures = 0,
+ cites = 0,
+ fancy = 0,
+ spacing = 0,
+ greek = 0,
+ math_delimiters = 0,
+ math_super_sub = 0,
+ }
+ end,
+ },
+
+ -- LSP support
+ {
+ "neovim/nvim-lspconfig",
+ config = function()
+ require("lspconfig").texlab.setup({})
+ end,
+ },
+
+ -- Autocompletion (optional)
+ { "hrsh7th/nvim-cmp" },
+ { "hrsh7th/cmp-nvim-lsp" },
+
+ -- Snippets (optional)
+ { "L3MON4D3/LuaSnip" },
+
+ -- Grammar & spell checking
+ { "rhysd/vim-grammarous", ft = "tex" },
+
+
+ -- Tab Bar
+ {'romgrk/barbar.nvim',
+ dependencies = {
+ 'lewis6991/gitsigns.nvim', -- OPTIONAL: for git status
+ 'nvim-tree/nvim-web-devicons', -- OPTIONAL: for file icons
+ },
+ init = function() vim.g.barbar_auto_setup = false end,
+ opts = {
+ -- lazy.nvim will automatically call setup for you. put your options here, anything missing will use the default:
+ -- animation = true,
+ -- insert_at_start = true,
+ -- …etc.
+ },
+ version = '^1.0.0', -- optional: only update when a new 1.x version is released
+ },
+
+ -- Dashboard
+ {
+ 'nvimdev/dashboard-nvim',
+ event = 'VimEnter',
+ config = function()
+ require('dashboard').setup {
+ -- config
+ }
+ end,
+ dependencies = { {'nvim-tree/nvim-web-devicons'}}
+ },
+
+ -- THEMES
+ "martinsione/darkplus.nvim",
+ "folke/tokyonight.nvim",
+ "navarasu/onedark.nvim"
+
+}