commit 9917e7873fa27ba6534d99ed7fbf43b90bafdbb5
parent 6802fffc8145ced0afc6291f6757066e3d43fad3
Author: Benjamin Paul <bpaul@bpaul.xyz>
Date: Mon, 20 Feb 2023 18:56:19 +1000
Finally commited nvim config (yikes!)
Diffstat:
4 files changed, 19 insertions(+), 2 deletions(-)
diff --git a/nvim/.config/nvim/after/plugin/lsp.lua b/nvim/.config/nvim/after/plugin/lsp.lua
@@ -82,7 +82,15 @@ require 'rust-tools'.setup({
checkOnSave = {
allTargets = false,
},
+ inlayHints = { locationLinks = false },
}
}
}
})
+require 'zk'.setup({
+ lsp = {
+ config = {
+ on_attach = on_attach,
+ }
+ }
+})
diff --git a/nvim/.config/nvim/after/plugin/neogit.lua b/nvim/.config/nvim/after/plugin/neogit.lua
@@ -0,0 +1 @@
+require 'neogit'.setup {}
diff --git a/nvim/.config/nvim/after/plugin/treesitter.lua b/nvim/.config/nvim/after/plugin/treesitter.lua
@@ -1,6 +1,9 @@
-require'nvim-treesitter.configs'.setup {
+require 'nvim-treesitter.configs'.setup {
highlight = {
enable = true,
additional_vim_regex_highlighting = true,
},
}
+
+-- lol idk where else to put this
+vim.keymap.set('n', '<leader>p', require('nabla').popup, { noremap = true })
diff --git a/nvim/.config/nvim/lua/plugins.lua b/nvim/.config/nvim/lua/plugins.lua
@@ -27,16 +27,21 @@ require 'packer'.startup(function()
use 'mattn/calendar-vim'
+ use 'jbyuki/nabla.nvim'
+
+ use { 'TimUntersberger/neogit', requires = 'nvim-lua/plenary.nvim' }
+
-- This is cool
--use 'vimpostor/vim-tpipeline'
use 'nvim-orgmode/orgmode'
+ use 'mickael-menu/zk-nvim'
+
use 'neovim/nvim-lspconfig'
use 'simrat39/rust-tools.nvim'
use 'L3MON4D3/LuaSnip'
- -- TODO switch to coq!!!
use 'hrsh7th/nvim-cmp'
use 'saadparwaiz1/cmp_luasnip'
use 'hrsh7th/cmp-buffer'