Browse Source

fixup: add gitignore and style

TJ DeVries 4 năm trước cách đây
mục cha
commit
e3b768619c
2 tập tin đã thay đổi với 6 bổ sung và 2 xóa
  1. 2 0
      .gitignore
  2. 4 2
      init.lua

+ 2 - 0
.gitignore

@@ -1,2 +1,4 @@
 tags
 test.sh
+.luarc.json
+nvim

+ 4 - 2
init.lua

@@ -58,8 +58,10 @@ require('packer').startup(function(use)
   use { 'nvim-telescope/telescope-fzf-native.nvim', run = 'make', cond = vim.fn.executable 'make' == 1 }
 
   -- Add custom plugins to packer from /nvim/lua/custom/plugins.lua
-  local has_plugins, plugins = pcall(require, "custom.plugins")
-  if has_plugins then plugins(use) end
+  local has_plugins, plugins = pcall(require, 'custom.plugins')
+  if has_plugins then
+    plugins(use)
+  end
 
   if is_bootstrap then
     require('packer').sync()