fix: add new snippets plugin
This commit is contained in:
@@ -1 +1 @@
|
|||||||
{"nvim-toggleterm.lua": {"commit": "d2ceb2c"}, "nvim-dap": {"commit": "d9b315a"}, "FixCursorHold.nvim": {"commit": "5aa5ff1"}, "nvcode-color-schemes.vim": {"commit": "3a0e624"}, "telescope-fzf-native.nvim": {"commit": "65c0ee3"}, "glow.nvim": {"commit": "8dca358"}, "packer.nvim": {"commit": "6afb674"}, "nvim-lspconfig": {"commit": "8e65dbb"}, "nvim-spectre": {"commit": "345e5dd"}, "numb.nvim": {"commit": "453c50a"}, "nvim-dap-virtual-text": {"commit": "2971ce3"}, "which-key.nvim": {"commit": "d1872f1"}, "telescope-file-browser.nvim": {"commit": "00a814a"}, "aerial.nvim": {"commit": "9ffdff2"}, "nvim-autopairs": {"commit": "5fe2441"}, "friendly-snippets": {"commit": "22a9975"}, "vim-vsnip": {"commit": "fd13f3f"}, "nvim-colorizer.lua": {"commit": "36c610a"}, "tabular": {"commit": "339091a"}, "rnvimr": {"commit": "4ced809"}, "gitsigns.nvim": {"commit": "4d8a6e0"}, "codi.vim": {"commit": "2898369"}, "nvim-ts-autotag": {"commit": "fdefe46"}, "telescope.nvim": {"commit": "2584ff3"}, "nvim-compe": {"commit": "d186d73"}, "telescope-project.nvim": {"commit": "b991a2a"}, "trouble.nvim": {"commit": "929315e"}, "nvim-ts-context-commentstring": {"commit": "4d3a68c"}, "lsp_signature.nvim": {"commit": "e65a638"}, "one-monokai-vim": {"commit": "4fdfd93"}, "gruvbox.nvim": {"commit": "c7aaa3e"}, "hop.nvim": {"commit": "75f73d3"}, "lush.nvim": {"commit": "6b9f399"}, "playground": {"commit": "bcfab84"}, "nvim-bqf": {"commit": "aac1ff9"}, "nvim-dap-ui": {"commit": "ebebd42"}, "popup.nvim": {"commit": "b7404d3"}, "vim-go-coverage": {"commit": "d9b0c9f"}, "FTerm.nvim": {"commit": "efd1065"}, "lua-dev.nvim": {"commit": "f3c72f2"}, "nvim-treesitter": {"commit": "965a74f"}, "neotest-go": {"commit": "d506f83"}, "neotest": {"commit": "e682e44"}, "vim-matchup": {"commit": "9aa08cd"}, "barbar.nvim": {"commit": "c41ad6e"}, "monokai.nvim": {"commit": "4fc970e"}, "lspsaga.nvim": {"commit": "9ec569a"}, "vim-markdown": {"commit": "3a96439"}, "dashboard-nvim": {"commit": "d82ddae"}, "nvim-luapad": {"commit": "9815e26"}, "nvim-tree.lua": {"commit": "fb8735e"}, "bracey.vim": {"commit": "4e1a22a"}, "nvim-lsp-installer": {"commit": "ae913cb"}, "fzf-lua": {"commit": "f42fbf0"}, "lsp-rooter.nvim": {"commit": "7c83364"}, "nvim-comment": {"commit": "e9ac16a"}, "plenary.nvim": {"commit": "4b66054"}, "telescope-dap.nvim": {"commit": "b4134ff"}, "markdown-preview.nvim": {"commit": "02cc387"}, "nvim-web-devicons": {"commit": "2d02a56"}, "DAPInstall.nvim": {"commit": "bbda2b0"}, "galaxyline.nvim": {"commit": "eb81be0"}}
|
{"nvim-dap": {"commit": "2cfd770"}, "FixCursorHold.nvim": {"commit": "5aa5ff1"}, "nvcode-color-schemes.vim": {"commit": "3a0e624"}, "telescope-fzf-native.nvim": {"commit": "65c0ee3"}, "codi.vim": {"commit": "2898369"}, "packer.nvim": {"commit": "6afb674"}, "nvim-lspconfig": {"commit": "51775b1"}, "playground": {"commit": "bcfab84"}, "numb.nvim": {"commit": "453c50a"}, "nvim-dap-virtual-text": {"commit": "2971ce3"}, "which-key.nvim": {"commit": "92d924d"}, "telescope-file-browser.nvim": {"commit": "60bcf4e"}, "aerial.nvim": {"commit": "f7d6ca8"}, "nvim-autopairs": {"commit": "14cc2a4"}, "neotest-go": {"commit": "d506f83"}, "nvim-colorizer.lua": {"commit": "36c610a"}, "nvim-comment": {"commit": "e9ac16a"}, "tabular": {"commit": "339091a"}, "rnvimr": {"commit": "4ced809"}, "gitsigns.nvim": {"commit": "4d8a6e0"}, "glow.nvim": {"commit": "8dca358"}, "nvim-ts-autotag": {"commit": "fdefe46"}, "telescope.nvim": {"commit": "30e2dc5"}, "nvim-compe": {"commit": "d186d73"}, "telescope-project.nvim": {"commit": "91e9a97"}, "trouble.nvim": {"commit": "929315e"}, "nvim-ts-context-commentstring": {"commit": "4d3a68c"}, "lsp_signature.nvim": {"commit": "e65a638"}, "one-monokai-vim": {"commit": "4fdfd93"}, "gruvbox.nvim": {"commit": "c632f62"}, "hop.nvim": {"commit": "75f73d3"}, "lush.nvim": {"commit": "fabf012"}, "LuaSnip": {"commit": "e687d78"}, "vim-go-coverage": {"commit": "d9b0c9f"}, "vim-matchup": {"commit": "ab8575d"}, "popup.nvim": {"commit": "b7404d3"}, "nvim-bqf": {"commit": "aac1ff9"}, "FTerm.nvim": {"commit": "efd1065"}, "lua-dev.nvim": {"commit": "315ad43"}, "nvim-treesitter": {"commit": "8689f61"}, "neotest": {"commit": "15c0bb2"}, "nvim-dap-ui": {"commit": "ebebd42"}, "nvim-luapad": {"commit": "9815e26"}, "monokai.nvim": {"commit": "4fc970e"}, "lspsaga.nvim": {"commit": "9ec569a"}, "vim-markdown": {"commit": "8a0b434"}, "dashboard-nvim": {"commit": "d82ddae"}, "barbar.nvim": {"commit": "c41ad6e"}, "nvim-tree.lua": {"commit": "fb8735e"}, "bracey.vim": {"commit": "4e1a22a"}, "fzf-lua": {"commit": "9b23c2c"}, "nvim-lsp-installer": {"commit": "ae913cb"}, "lsp-rooter.nvim": {"commit": "7c83364"}, "toggleterm.nvim": {"commit": "f494c61"}, "plenary.nvim": {"commit": "62dc2a7"}, "telescope-dap.nvim": {"commit": "b4134ff"}, "markdown-preview.nvim": {"commit": "02cc387"}, "nvim-web-devicons": {"commit": "2d02a56"}, "DAPInstall.nvim": {"commit": "bbda2b0"}, "galaxyline.nvim": {"commit": "eb81be0"}}
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ require("toggleterm").setup{
|
|||||||
hide_numbers = true, -- hide the number column in toggleterm buffers
|
hide_numbers = true, -- hide the number column in toggleterm buffers
|
||||||
shade_filetypes = {},
|
shade_filetypes = {},
|
||||||
shade_terminals = true,
|
shade_terminals = true,
|
||||||
shading_factor = '<number>', -- the degree by which to darken to terminal colour, default: 1 for dark backgrounds, 3 for light
|
shading_factor = '1', -- the degree by which to darken to terminal colour, default: 1 for dark backgrounds, 3 for light
|
||||||
start_in_insert = true,
|
start_in_insert = true,
|
||||||
insert_mappings = true, -- whether or not the open mapping applies in insert mode
|
insert_mappings = true, -- whether or not the open mapping applies in insert mode
|
||||||
persist_size = true,
|
persist_size = true,
|
||||||
|
|||||||
@@ -226,7 +226,7 @@ local mappings = {
|
|||||||
name = "+Test",
|
name = "+Test",
|
||||||
a = { "<cmd>TestSuite -v -cover<cr>", "TestSuite" },
|
a = { "<cmd>TestSuite -v -cover<cr>", "TestSuite" },
|
||||||
t = { "<cmd>lua require('neotest').run.run() <cr>", "TestNearest" },
|
t = { "<cmd>lua require('neotest').run.run() <cr>", "TestNearest" },
|
||||||
f = { "<cmd>TestFile -v -cover<cr>", "TestFile" },
|
f = { '<cmd>lua require("neotest").run.run(vim.fn.expand("%"))<cr>', "TestFile" },
|
||||||
c = { "<cmd>GoCover<cr>", "go coverage" },
|
c = { "<cmd>GoCover<cr>", "go coverage" },
|
||||||
C = { "<cmd>GoCoverClear<cr>", "go coverage clear" },
|
C = { "<cmd>GoCoverClear<cr>", "go coverage clear" },
|
||||||
b = { "<cmd>lua require'dap'.toggle_breakpoint()<cr>", "set break point" },
|
b = { "<cmd>lua require'dap'.toggle_breakpoint()<cr>", "set break point" },
|
||||||
|
|||||||
@@ -62,8 +62,6 @@ return require("packer").startup(function(use)
|
|||||||
|
|
||||||
-- Autocomplete
|
-- Autocomplete
|
||||||
use { "hrsh7th/nvim-compe", opt = true }
|
use { "hrsh7th/nvim-compe", opt = true }
|
||||||
use { "hrsh7th/vim-vsnip", opt = true }
|
|
||||||
use { "rafamadriz/friendly-snippets", opt = true }
|
|
||||||
|
|
||||||
-- Treesitter
|
-- Treesitter
|
||||||
use { "nvim-treesitter/nvim-treesitter", run = ":TSUpdate" }
|
use { "nvim-treesitter/nvim-treesitter", run = ":TSUpdate" }
|
||||||
@@ -103,6 +101,8 @@ return require("packer").startup(function(use)
|
|||||||
use { "glepnir/galaxyline.nvim", opt = true }
|
use { "glepnir/galaxyline.nvim", opt = true }
|
||||||
use { "romgrk/barbar.nvim", opt = true }
|
use { "romgrk/barbar.nvim", opt = true }
|
||||||
|
|
||||||
|
use({ "L3MON4D3/LuaSnip", tag = "v1.0.0", opt = true })
|
||||||
|
|
||||||
-- Go plugin
|
-- Go plugin
|
||||||
-- use {"fatih/vim-go", run= ":GoUpdateBinaries"}
|
-- use {"fatih/vim-go", run= ":GoUpdateBinaries"}
|
||||||
-- use {"fatih/vim-go", run = ":GoUpdateBinaries", ft = "go"}
|
-- use {"fatih/vim-go", run = ":GoUpdateBinaries", ft = "go"}
|
||||||
@@ -150,15 +150,12 @@ return require("packer").startup(function(use)
|
|||||||
require_plugin("lspsaga.nvim")
|
require_plugin("lspsaga.nvim")
|
||||||
require_plugin("nvim-lsp-installer")
|
require_plugin("nvim-lsp-installer")
|
||||||
require_plugin('trouble.nvim')
|
require_plugin('trouble.nvim')
|
||||||
require_plugin("friendly-snippets")
|
|
||||||
require_plugin("popup.nvim")
|
require_plugin("popup.nvim")
|
||||||
require_plugin("plenary.nvim")
|
require_plugin("plenary.nvim")
|
||||||
require_plugin("telescope.nvim")
|
require_plugin("telescope.nvim")
|
||||||
require_plugin('telescope-project.nvim')
|
require_plugin('telescope-project.nvim')
|
||||||
require_plugin("nvim-dap")
|
require_plugin("nvim-dap")
|
||||||
require_plugin("nvim-compe")
|
require_plugin("nvim-compe")
|
||||||
require_plugin("vim-vsnip")
|
|
||||||
-- require_plugin("nvim-treesitter")
|
|
||||||
require_plugin("nvim-ts-autotag")
|
require_plugin("nvim-ts-autotag")
|
||||||
require_plugin('vim-matchup')
|
require_plugin('vim-matchup')
|
||||||
require_plugin("nvim-tree.lua")
|
require_plugin("nvim-tree.lua")
|
||||||
@@ -185,7 +182,9 @@ return require("packer").startup(function(use)
|
|||||||
use 'fratajczak/one-monokai-vim'
|
use 'fratajczak/one-monokai-vim'
|
||||||
use { "npxbr/glow.nvim", run = "GlowInstall" }
|
use { "npxbr/glow.nvim", run = "GlowInstall" }
|
||||||
|
|
||||||
use { "akinsho/nvim-toggleterm.lua" }
|
use { "akinsho/toggleterm.nvim", tag = '*', config = function()
|
||||||
|
require("toggleterm").setup()
|
||||||
|
end }
|
||||||
use { "Pocco81/DAPInstall.nvim", opt = true }
|
use { "Pocco81/DAPInstall.nvim", opt = true }
|
||||||
require_plugin("DAPInstall.nvim")
|
require_plugin("DAPInstall.nvim")
|
||||||
|
|
||||||
@@ -228,8 +227,6 @@ return require("packer").startup(function(use)
|
|||||||
|
|
||||||
use { 'norcalli/nvim-colorizer.lua', opt = true }
|
use { 'norcalli/nvim-colorizer.lua', opt = true }
|
||||||
require_plugin('nvim-colorizer.lua')
|
require_plugin('nvim-colorizer.lua')
|
||||||
use { 'windwp/nvim-spectre', opt = true }
|
|
||||||
require_plugin('nvim-spectre')
|
|
||||||
use { 'nvim-treesitter/playground', opt = true }
|
use { 'nvim-treesitter/playground', opt = true }
|
||||||
require_plugin('playground')
|
require_plugin('playground')
|
||||||
-- folke/todo-comments.nvim
|
-- folke/todo-comments.nvim
|
||||||
|
|||||||
Reference in New Issue
Block a user