return { "hashivim/vim-terraform", "pierreglaser/folding-nvim", "tjdevries/colorbuddy.vim", "wbthomason/packer.nvim", "jose-elias-alvarez/nvim-lsp-ts-utils", "jjo/vim-cue", "ckipp01/stylua-nvim", { "numToStr/Comment.nvim", keys = { { "", "(comment_toggle_linewise_current)" }, { "", "(comment_toggle_linewise_visual)", mode = "v" }, }, dependencies = { "JoosepAlviste/nvim-ts-context-commentstring", }, config = function() require("Comment").setup({ pre_hook = require("ts_context_commentstring.integrations.comment_nvim").create_pre_hook(), }) end, }, { "L3MON4D3/LuaSnip", config = function() require("luasnip/loaders/from_vscode").lazy_load() end, }, { "lewis6991/gitsigns.nvim", dependencies = { "nvim-lua/plenary.nvim", }, config = function() require("gitsigns").setup({ numhl = true, signs = { add = { hl = "GitSignsAdd", text = "▌", numhl = "GitSignsAddNr", linehl = "GitSignsAddLn" }, change = { hl = "GitSignsChange", text = "▌", numhl = "GitSignsChangeNr", linehl = "GitSignsChangeLn", }, delete = { hl = "GitSignsDelete", text = "▖", numhl = "GitSignsDeleteNr", linehl = "GitSignsDeleteLn", }, topdelete = { hl = "GitSignsDelete", text = "▘", numhl = "GitSignsDeleteNr", linehl = "GitSignsDeleteLn", }, changedelete = { hl = "GitSignsChange", text = "~", numhl = "GitSignsChangeNr", linehl = "GitSignsChangeLn", }, }, }) end, }, { "lukas-reineke/indent-blankline.nvim", branch = "master", event = "VeryLazy", init = function() vim.g.indent_blankline_char = "│" vim.g.indent_blankline_space_char = "⬝" vim.g.indent_blankline_space_char_highlight_list = { "IndentSpace" } -- vim.g.indent_blankline_char_list = {'|', '¦', '┆', '┊'} vim.g.indent_blankline_buftype_exclude = { "help", "terminal" } vim.g.indent_blankline_filetype_exclude = { "text", "markdown" } -- vim.g.indent_blankline_show_end_of_line = true vim.g.indent_blankline_show_first_indent_level = true vim.g.indent_blankline_show_trailing_blankline_indent = true vim.g.indent_blankline_char_highlight_list = { "Indent1", "Indent2", "Indent3", "Indent4", "Indent5", "Indent6" } require("indent_blankline").setup({}) end, }, { "ray-x/go.nvim", config = function() require("go").setup({ comment_placeholder = "", icons = { breakpoint = "🧘", currentpos = "🏃" }, dap_debug_gui = false, }) vim.cmd("autocmd FileType go nmap c :lua require('go.comment').gen()") vim.cmd("autocmd BufWritePre *.go :silent! lua require('go.format').gofmt()") vim.cmd("autocmd BufWritePre (InsertLeave?) lua vim.lsp.buf.formatting_sync(nil,500)") end, }, { "onsails/lspkind-nvim", config = function() require("lspkind").init({}) end, }, { url = "https://git.sr.ht/~whynothugo/lsp_lines.nvim", config = function() require("lsp_lines").setup() vim.diagnostic.config({ virtual_text = false, }) end, }, }