diff options
author | Jacob Janzen <jacob.a.s.janzen@gmail.com> | 2024-10-01 17:42:59 -0500 |
---|---|---|
committer | Jacob Janzen <jacob.a.s.janzen@gmail.com> | 2024-10-01 17:42:59 -0500 |
commit | 7b0ea5cbdaaa5b8392777ad207c74cb27411eab1 (patch) | |
tree | 37a3438116ec3c84663133c820808ad9e2acf021 /common/.config/nvim/lua/plugins.lua.org | |
parent | 7a347653dfad8c6c33791f7e72a4ec40b8230ac3 (diff) |
the big refactor
Diffstat (limited to 'common/.config/nvim/lua/plugins.lua.org')
-rw-r--r-- | common/.config/nvim/lua/plugins.lua.org | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/common/.config/nvim/lua/plugins.lua.org b/common/.config/nvim/lua/plugins.lua.org new file mode 100644 index 0000000..f3027f9 --- /dev/null +++ b/common/.config/nvim/lua/plugins.lua.org @@ -0,0 +1,27 @@ +#+title: Neovim Plugins +* Setup +Use =lazy= to manage plugins. This block activates =lazy=. +#+begin_src lua :tangle ~/.config/nvim/lua/plugins.lua :mkdirp yes + 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) +#+end_src + +* Plugins +I use =lightline= for a nice status bar. The Ayu theme matches my overall colour scheme. =delimitmate= provides better delimiter handling. Trailing whitespace is highlighted with =vim-trailing-whitespace=. +#+begin_src lua :tangle ~/.config/nvim/lua/plugins.lua :mkdirp yes + require('lazy').setup({ + 'itchyny/lightline.vim', + 'Raimondi/delimitMate', + 'bronson/vim-trailing-whitespace', + }) +#+end_src |