diff options
| author | Ruben Beltran del Rio <ruben@unlimited.pizza> | 2023-07-18 21:25:13 +0200 |
|---|---|---|
| committer | Ruben Beltran del Rio <ruben@unlimited.pizza> | 2023-07-18 21:25:13 +0200 |
| commit | ce3499096aaf5e54830b99f64ecf159e9809c644 (patch) | |
| tree | 2e1a9edcd7657e4bf2637205986853f48bd1dcbb /config/nvim/lua | |
| parent | a78545aee0d150b7032e567e92e57fd0d3e83d6d (diff) | |
Replace vimscript config with lua
Diffstat (limited to 'config/nvim/lua')
| -rw-r--r-- | config/nvim/lua/plugins.lua | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/config/nvim/lua/plugins.lua b/config/nvim/lua/plugins.lua new file mode 100644 index 0000000..7c5f488 --- /dev/null +++ b/config/nvim/lua/plugins.lua @@ -0,0 +1,49 @@ +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', -- latest stable release + lazypath, + }) +end +vim.opt.rtp:prepend(lazypath) + +require('lazy').setup({ + {'fzf', dir=vim.env.FZF_VIM_PATH}, + + -- Syntaxes + 'https://git.sr.ht/~rbdr/api-notation.vim', + 'elzr/vim-json', + 'othree/yajs.vim', + 'ARM9/snes-syntax-vim', + 'leafgarland/typescript-vim', + 'leafOfTree/vim-svelte-plugin', + 'bumaociyuan/vim-swift', + 'udalov/kotlin-vim', + 'tikhomirov/vim-glsl', + 'jparise/vim-graphql', + 'digitaltoad/vim-pug', + 'https://git.sr.ht/~torresjrjr/gemini.vim', + 'rust-lang/rust.vim', + 'dart-lang/dart-vim-plugin', + 'ziglang/zig.vim', + + -- Editing + 'tpope/vim-endwise', + 'rstacruz/vim-closer', + 'michaeljsmith/vim-indent-object', + + -- Distraction free editing + 'junegunn/goyo.vim', + 'junegunn/limelight.vim', + + -- Tools + {'neoclide/coc.nvim', branch='release'}, + 'vim-scripts/LargeFile', + 'tpope/vim-fugitive', + 'milkypostman/vim-togglelist', + 'jremmen/vim-ripgrep', +}) |