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