From b2b1f661e55c2a1139aef1f8f8aa4a11b10d3b01 Mon Sep 17 00:00:00 2001 From: Andrew Guschin Date: Mon, 16 Oct 2023 15:50:52 +0400 Subject: Initial commit --- lua/plugins.lua | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 lua/plugins.lua (limited to 'lua/plugins.lua') diff --git a/lua/plugins.lua b/lua/plugins.lua new file mode 100644 index 0000000..0a22d75 --- /dev/null +++ b/lua/plugins.lua @@ -0,0 +1,56 @@ +local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim" +if not vim.loop.fs_stat(lazypath) then + vim.fn.system({ + "git", + "clone", + "--filter=blob:none", + "https://github.com/folke/lazy.nvim.git", + "--branch=stable", + lazypath, + }) +end +vim.opt.rtp:prepend(lazypath) + +-- Plug 'junegunn/fzf', { 'do': { -> fzf#install() } } +-- Plug 'junegunn/fzf.vim' +-- Plug 'tpope/vim-fugitive' +-- Plug 'hrsh7th/vim-vsnip' +-- +-- " Languages +-- Plug 'prabirshrestha/vim-lsp' + + +require("lazy").setup({ + { "numToStr/Comment.nvim", lazy = false, opts = {} }, + { + "nvim-lualine/lualine.nvim", + lazy = false, + opts = { + options = { + icons_enabled = false, + theme = "powerline", + }, + } + }, + { + "nvim-treesitter/nvim-treesitter", + build = ":TSUpdate", + config = function () + local configs = require("nvim-treesitter.configs") + configs.setup({ + ensure_installed = { + "c", "cpp", "lua", "vimdoc", "haskell", "bibtex", "markdown_inline", + "cmake", "rust", "glsl", "python", "bash", "arduino", "css", "diff", + "dockerfile", "json", "vim", "kconfig", "latex", "make", "markdown", + "go", "html", "ocaml", "org", "norg", "toml", "vue", "xml", "yaml", + }, + sync_install = false, + highlight = { enable = true }, + indent = { enable = true }, + }) + end + }, + "lervag/vimtex", + "powerman/vim-plugin-ruscmd", +}) + -- cgit v1.2.3