plugin revamp
This commit is contained in:
parent
70caae6dcb
commit
6fe9d1b656
11 changed files with 224 additions and 59 deletions
25
lua/custom/plugins/conjure.lua
Normal file
25
lua/custom/plugins/conjure.lua
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
return {
|
||||
{
|
||||
"Olical/conjure",
|
||||
ft = { "clojure", "fennel", "janet", "racket", "hy", "scheme", "common lisp", "julia", "rust", "lua", "python" },
|
||||
lazy = true,
|
||||
init = function()
|
||||
vim.g['conjure#extract#tree_sitter#enabled'] = true
|
||||
end,
|
||||
dependencies = {
|
||||
"PaterJason/cmp-conjure",
|
||||
"nvim-treesitter/nvim-treesitter",
|
||||
},
|
||||
},
|
||||
{
|
||||
"PaterJason/cmp-conjure",
|
||||
lazy = true,
|
||||
dependencies = { "nvim-cmp" },
|
||||
config = function()
|
||||
local cmp = require("cmp")
|
||||
local cfg = cmp.get_config()
|
||||
table.insert(cfg.sources, { name = "conjure" })
|
||||
return cmp.setup(cfg)
|
||||
end,
|
||||
}
|
||||
}
|
||||
10
lua/custom/plugins/filebrowser.lua
Normal file
10
lua/custom/plugins/filebrowser.lua
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
return {
|
||||
{
|
||||
'luukvbaal/nnn.nvim',
|
||||
config = function ()
|
||||
require("nnn").setup({
|
||||
replace_netrw = "explorer"
|
||||
})
|
||||
end
|
||||
}
|
||||
}
|
||||
|
|
@ -1,12 +0,0 @@
|
|||
-- You can add your own plugins here or in other files in this directory!
|
||||
-- I promise not to create any merge conflicts in this directory :)
|
||||
--
|
||||
-- See the kickstart.nvim README for more information
|
||||
return {
|
||||
{
|
||||
"nvim-telescope/telescope-file-browser.nvim",
|
||||
dependencies = { "nvim-telescope/telescope.nvim", "nvim-lua/plenary.nvim" }
|
||||
};
|
||||
}
|
||||
|
||||
-- vim: ts=2 sts=2 sw=2 et
|
||||
28
lua/custom/plugins/neorg.lua
Normal file
28
lua/custom/plugins/neorg.lua
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
return {
|
||||
{
|
||||
"nvim-neorg/neorg",
|
||||
version = "*",
|
||||
dependencies = {
|
||||
'nvim-lua/plenary.nvim',
|
||||
'nvim-treesitter/nvim-treesitter',
|
||||
},
|
||||
opts = {
|
||||
load = {
|
||||
["core.defaults"] = {},
|
||||
["core.concealer"] = {},
|
||||
["core.dirman"] = {
|
||||
config = {
|
||||
workspaces = {
|
||||
general = "$XDG_DOCUMENTS_DIR/neorg/general",
|
||||
},
|
||||
default_workspace = "general",
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
config = function()
|
||||
vim.wo.foldlevel = 99
|
||||
vim.wo.conceallevel = 2
|
||||
end,
|
||||
}
|
||||
}
|
||||
16
lua/custom/plugins/obsidian.lua
Normal file
16
lua/custom/plugins/obsidian.lua
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
return {
|
||||
'epwalsh/obsidian.nvim',
|
||||
version = "*",
|
||||
lazy = true,
|
||||
-- Replace the above line with this if you only want to load obsidian.nvim for markdown files in your vault:
|
||||
event = {
|
||||
-- If you want to use the home shortcut '~' here you need to call 'vim.fn.expand'.
|
||||
-- E.g. "BufReadPre " .. vim.fn.expand "~" .. "/my-vault/*.md"
|
||||
-- refer to `:h file-pattern` for more examples
|
||||
"BufReadPre $XDG_DOCUMENTS_DIR/obsidian/*/*.md",
|
||||
"BufNewFile $XDG_DOCUMENTS_DIR/obsidian/*/*.md",
|
||||
},
|
||||
dependencies = {
|
||||
'nvim-lua/plenary.nvim'
|
||||
},
|
||||
}
|
||||
29
lua/custom/plugins/telescope.lua
Normal file
29
lua/custom/plugins/telescope.lua
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
-- You can add your own plugins here or in other files in this directory!
|
||||
-- I promise not to create any merge conflicts in this directory :)
|
||||
--
|
||||
-- See the kickstart.nvim README for more information
|
||||
return {
|
||||
{
|
||||
'nvim-telescope/telescope.nvim',
|
||||
branch = '0.1.x',
|
||||
dependencies = {
|
||||
'nvim-lua/plenary.nvim',
|
||||
{
|
||||
'nvim-telescope/telescope-fzf-native.nvim',
|
||||
build = 'make',
|
||||
cond = function()
|
||||
return vim.fn.executable 'make' == 1
|
||||
end,
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
'nvim-telescope/telescope-file-browser.nvim',
|
||||
dependencies = {
|
||||
'nvim-telescope/telescope.nvim',
|
||||
'nvim-lua/plenary.nvim'
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
-- vim: ts=2 sts=2 sw=2 et
|
||||
20
lua/custom/plugins/tmux.lua
Normal file
20
lua/custom/plugins/tmux.lua
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
return {
|
||||
{
|
||||
"christoomey/vim-tmux-navigator",
|
||||
lazy = false,
|
||||
cmd = {
|
||||
"TmuxNavigateLeft",
|
||||
"TmuxNavigateDown",
|
||||
"TmuxNavigateUp",
|
||||
"TmuxNavigateRight",
|
||||
"TmuxNavigatePrevious"
|
||||
},
|
||||
keys = {
|
||||
{ "<c-h>", "<cmd><C-U>TmuxNavigateLeft<cr>" },
|
||||
{ "<c-j>", "<cmd><C-U>TmuxNavigateDown<cr>" },
|
||||
{ "<c-k>", "<cmd><C-U>TmuxNavigateUp<cr>" },
|
||||
{ "<c-l>", "<cmd><C-U>TmuxNavigateRight<cr>" },
|
||||
{ "<c-\\>", "<cmd><C-U>TmuxNavigatePrevious<cr>" },
|
||||
},
|
||||
},
|
||||
}
|
||||
26
lua/custom/plugins/treesitter.lua
Normal file
26
lua/custom/plugins/treesitter.lua
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
return {
|
||||
{
|
||||
'nvim-treesitter/nvim-treesitter',
|
||||
dependencies = {
|
||||
'nvim-treesitter/nvim-treesitter-textobjects',
|
||||
},
|
||||
build = ':TSUpdate',
|
||||
opts = {
|
||||
auto_install = true,
|
||||
highlight = {
|
||||
enable = true,
|
||||
additional_vim_regex_highlighting = false,
|
||||
},
|
||||
},
|
||||
config = function(_, opts)
|
||||
require('nvim-treesitter.configs').setup(opts)
|
||||
end,
|
||||
},
|
||||
{
|
||||
'nvim-treesitter/playground',
|
||||
dependencies = {
|
||||
'nvim-treesitter/nvim-treesitter',
|
||||
},
|
||||
},
|
||||
'nvim-treesitter/nvim-treesitter-context',
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue