Add customizations

This commit is contained in:
k-knosala 2024-03-28 21:19:31 +01:00
parent 93fde0556e
commit af39dd4a9f
13 changed files with 151 additions and 28 deletions

View file

@ -0,0 +1,15 @@
return {
"windwp/nvim-autopairs",
-- Optional dependency
dependencies = { 'hrsh7th/nvim-cmp' },
config = function()
require("nvim-autopairs").setup {}
-- If you want to automatically add `(` after selecting a function or method
local cmp_autopairs = require('nvim-autopairs.completion.cmp')
local cmp = require('cmp')
cmp.event:on(
'confirm_done',
cmp_autopairs.on_confirm_done()
)
end,
}

View file

@ -0,0 +1,11 @@
return {
--- File explorer
"nvim-neo-tree/neo-tree.nvim",
branch = "v3.x",
dependencies = {
"nvim-lua/plenary.nvim",
"nvim-tree/nvim-web-devicons", -- not strictly required, but recommended
"MunifTanjim/nui.nvim",
-- "3rd/image.nvim", -- Optional image support in preview window: See `# Preview Mode` for more information
}
}

View file

@ -0,0 +1,5 @@
return {
'mrcjkb/rustaceanvim',
version = '^4', -- Recommended
ft = { 'rust' },
}

View file

@ -0,0 +1,6 @@
return { require 'lspconfig'.typst_lsp.setup {
settings = {
exportPdf = "never" -- Choose onType, onSave or never.
-- serverPath = "" -- Normally, there is no need to uncomment it.
}
} }

View file

@ -0,0 +1,9 @@
return {
-- Seamless navigation between tmux panes and vim splits
'christoomey/vim-tmux-navigator',
config = function()
-- disable netrw for nvim-tree
vim.g.loaded_netrw = 1
vim.g.loaded_netrwPlugin = 1
end,
}