浏览代码

remove nvimtree statusline

christianchiarulli 4 年之前
父节点
当前提交
2a1fb08a64
共有 1 个文件被更改,包括 6 次插入0 次删除
  1. 6 0
      init.lua

+ 6 - 0
init.lua

@@ -17,3 +17,9 @@ require "lv-treesitter"
 -- end
 -- if O.lang.tailwindcss.active then
 --   require "lsp.tailwind
+vim.api.nvim_exec(
+  [[
+au BufEnter,BufWinEnter,WinEnter,CmdwinEnter * if bufname('%') == "NvimTree" | set laststatus=0 | else | set laststatus=2 | endif
+]],
+  false
+)