aboutsummaryrefslogtreecommitdiff
path: root/gentoo/.config/nvim/lua/plugins.org
diff options
context:
space:
mode:
authorJacob Janzen <jjanzenn@proton.me>2024-08-09 20:48:10 -0500
committerJacob Janzen <jjanzenn@proton.me>2024-08-09 20:48:10 -0500
commit40f02bc8088ca93224bf65f083c4ab3b17eaf435 (patch)
treef5c4d0bd619a4f7547f318a86ecfdd05e88ca814 /gentoo/.config/nvim/lua/plugins.org
parentd97f4feb2c17835d31a4dff5f1109d50c4111943 (diff)
move gentoo into subdirectory
Diffstat (limited to 'gentoo/.config/nvim/lua/plugins.org')
-rw-r--r--gentoo/.config/nvim/lua/plugins.org27
1 files changed, 27 insertions, 0 deletions
diff --git a/gentoo/.config/nvim/lua/plugins.org b/gentoo/.config/nvim/lua/plugins.org
new file mode 100644
index 0000000..f3027f9
--- /dev/null
+++ b/gentoo/.config/nvim/lua/plugins.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