mirror of
https://github.com/Ascyii/telekasten.nvim.git
synced 2026-01-01 06:14:23 -05:00
perf: remove duplicate setup call
This commit is contained in:
@@ -353,8 +353,7 @@ local function save_all_mod_buffers()
|
||||
(
|
||||
M.Cfg.auto_set_filetype == true
|
||||
and vim.fn.getbufvar(i, "&filetype") == "telekasten"
|
||||
)
|
||||
or M.Cfg.auto_set_filetype == false
|
||||
) or M.Cfg.auto_set_filetype == false
|
||||
)
|
||||
then
|
||||
vim.cmd(i .. "bufdo w")
|
||||
@@ -3178,7 +3177,4 @@ end
|
||||
M.panel = TelekastenCmd.command
|
||||
M.Command = TelekastenCmd
|
||||
|
||||
-- Load default setup
|
||||
Setup()
|
||||
|
||||
return M
|
||||
|
||||
Reference in New Issue
Block a user