[NeoVim] Updates
This commit is contained in:
@@ -99,4 +99,6 @@
|
|||||||
:module :settings.vimtex)
|
:module :settings.vimtex)
|
||||||
|
|
||||||
(use! :edluffy/hologram.nvim
|
(use! :edluffy/hologram.nvim
|
||||||
:module :settings.hologram))
|
:module :settings.hologram)
|
||||||
|
|
||||||
|
(use! :lambdalisue/suda.vim))
|
||||||
|
|||||||
@@ -2,10 +2,19 @@
|
|||||||
(import-macros {: setup} :macros)
|
(import-macros {: setup} :macros)
|
||||||
|
|
||||||
(setup :aerial
|
(setup :aerial
|
||||||
{:close_behavior "global"
|
{:backends [:lsp :treesitter]
|
||||||
|
:layout {:width 30
|
||||||
|
:placement "edge"}
|
||||||
|
:attach_mode "global"
|
||||||
|
:close_automatic_events [:unsupported]
|
||||||
:open_automatic true
|
:open_automatic true
|
||||||
:placement_editor_edge true
|
:ignore {:filetypes [""
|
||||||
:width 30
|
"neo-tree"
|
||||||
|
"aerial"
|
||||||
|
"packer"
|
||||||
|
"qf"
|
||||||
|
"help"
|
||||||
|
"DiffviewFileHistory"]}
|
||||||
:on_attach (fn [bufnr]
|
:on_attach (fn [bufnr]
|
||||||
(map! [n :buffer] :t (fn []
|
(map! [n :buffer] :t (fn []
|
||||||
(vim.tbl_map (fn [buf]
|
(vim.tbl_map (fn [buf]
|
||||||
|
|||||||
@@ -73,5 +73,5 @@
|
|||||||
|
|
||||||
; Startup
|
; Startup
|
||||||
(if (or (= (vim.fn.expand "%") "") (not= (vim.fn.isdirectory (vim.fn.expand "%")) 0))
|
(if (or (= (vim.fn.expand "%") "") (not= (vim.fn.isdirectory (vim.fn.expand "%")) 0))
|
||||||
((. (require :neo-tree.command) :_command) (vim.fn.getcwd))
|
((. (require :neo-tree.command) :execute) {:action "focus" :dir (vim.fn.getcwd)})
|
||||||
((. (require :neo-tree.command) :_command) :show (vim.fn.getcwd)))
|
((. (require :neo-tree.command) :execute) {:action "show" :dir (vim.fn.getcwd)}))
|
||||||
|
|||||||
@@ -21,9 +21,12 @@ if tangerine_bootstrapped then
|
|||||||
hooks = {'oninit'}
|
hooks = {'oninit'}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
require('init')
|
||||||
else
|
else
|
||||||
require('tangerine').setup({})
|
require('tangerine').setup({})
|
||||||
if (#(require('tangerine.vim.hooks').run()) > 0) then
|
local diagnostics = require('tangerine.vim.hooks').run()
|
||||||
|
require('init')
|
||||||
|
if #diagnostics > 0 then
|
||||||
require('packer').sync()
|
require('packer').sync()
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user