Compare commits
10 commits
push-qllxs
...
main
Author | SHA1 | Date | |
---|---|---|---|
a972cdf4f9 | |||
e8b0fe4b51 | |||
acd63aabfb | |||
bfde2a5785 | |||
fd17600444 | |||
5649da4647 | |||
85d57c402a | |||
04861de924 | |||
403c4adf13 | |||
0e32e25ef4 |
3 changed files with 1 additions and 35 deletions
|
@ -1,32 +0,0 @@
|
|||
return {
|
||||
"Cretezy/neo-tree-jj.nvim",
|
||||
dependencies = {
|
||||
{
|
||||
"nvim-neo-tree/neo-tree.nvim",
|
||||
opts = function(_, opts)
|
||||
-- Register the source
|
||||
table.insert(opts.sources, "jj")
|
||||
|
||||
-- Optional: Replace git tab in neo-tree when in jj repo
|
||||
if require("neo-tree.sources.jj.utils").get_repository_root() then
|
||||
-- Remove git tab
|
||||
for i, source in ipairs(opts.source_selector.sources) do
|
||||
if source.source == "git_status" then
|
||||
table.remove(opts.source_selector.sources, i)
|
||||
break
|
||||
end
|
||||
end
|
||||
|
||||
-- Add jj tab
|
||||
table.insert(opts.source_selector.sources, {
|
||||
display_name = " JJ",
|
||||
source = "jj",
|
||||
})
|
||||
end
|
||||
end,
|
||||
},
|
||||
},
|
||||
keys = {
|
||||
{ "<leader>mj", "<cmd>Neotree jj<cr>", desc = "NeoTree JJ" },
|
||||
},
|
||||
}
|
|
@ -6,7 +6,6 @@ return {
|
|||
{ "nvim-telescope/telescope-fzf-native.nvim", build = "make" },
|
||||
"debugloop/telescope-undo.nvim",
|
||||
"nvim-telescope/telescope-ui-select.nvim",
|
||||
"zschreur/telescope-jj.nvim",
|
||||
},
|
||||
config = function()
|
||||
require("telescope").setup({
|
||||
|
@ -22,7 +21,6 @@ return {
|
|||
|
||||
-- Enable telescope fzf native, if installed
|
||||
pcall(require("telescope").load_extension, "fzf")
|
||||
pcall(require("telescope").load_extension, "jj")
|
||||
pcall(require("telescope").load_extension, "scaladex")
|
||||
pcall(require("telescope").load_extension, "ui-select")
|
||||
pcall(require("telescope").load_extension, "undo")
|
||||
|
|
|
@ -8,7 +8,7 @@ return {
|
|||
vim.g.vimtex_compiler_method = "tectonic"
|
||||
|
||||
-- nvim-texlabconfig
|
||||
local tex_preview_executable = "/Applications/Skim.app/Contents/SharedSupport/displayline"
|
||||
local tex_preview_executable = "skim"
|
||||
local tex_preview_args = { "%l", "%p", "%f" }
|
||||
local texlab_build_executable = "tectonic"
|
||||
local texlab_build_args = {
|
||||
|
|
Loading…
Reference in a new issue