浏览代码

seems to disable everything we may have to use a more complicated method

Chris 4 年之前
父节点
当前提交
0d14b91e1e
共有 6 个文件被更改,包括 18 次插入18 次删除
  1. 3 3
      lua/lsp/emmet-ls.lua
  2. 3 3
      lua/lv-autopairs/init.lua
  3. 3 3
      lua/lv-compe/init.lua
  4. 3 3
      lua/lv-nvimtree/init.lua
  5. 3 3
      lua/lv-treesitter/init.lua
  6. 3 3
      lua/lv-which-key/init.lua

+ 3 - 3
lua/lsp/emmet-ls.lua

@@ -1,6 +1,6 @@
-if not package.loaded['lspconfig'] then
-  return
-end
+-- if not package.loaded['lspconfig'] then
+--   return
+-- end
 
 local nvim_lsp = require'lspconfig'
 local configs = require'lspconfig/configs'

+ 3 - 3
lua/lv-autopairs/init.lua

@@ -1,6 +1,6 @@
-if not package.loaded['nvim-autopairs'] then
-  return
-end
+-- if not package.loaded['nvim-autopairs'] then
+--   return
+-- end
 
 local npairs = require('nvim-autopairs')
 local Rule = require('nvim-autopairs.rule')

+ 3 - 3
lua/lv-compe/init.lua

@@ -1,6 +1,6 @@
-if not package.loaded['compe'] then
-  return
-end
+--if not package.loaded['compe'] then
+--   return
+-- end
 
 local M = {}
 

+ 3 - 3
lua/lv-nvimtree/init.lua

@@ -1,6 +1,6 @@
-if not package.loaded['nvim-tree.view'] then
-  return
-end
+--if not package.loaded['nvim-tree.view'] then
+--  return
+--end
 
 local M = {}
 

+ 3 - 3
lua/lv-treesitter/init.lua

@@ -1,6 +1,6 @@
-if not package.loaded['nvim-treesitter'] then
-  return
-end
+-- if not package.loaded['nvim-treesitter'] then
+--   return
+-- end
 
 require'nvim-treesitter.configs'.setup {
     ensure_installed = O.treesitter.ensure_installed, -- one of "all", "maintained" (parsers with maintainers), or a list of languages

+ 3 - 3
lua/lv-which-key/init.lua

@@ -1,6 +1,6 @@
-if not package.loaded['which-key'] then
-  return
-end
+-- if not package.loaded['which-key'] then
+--  return
+-- end
 
 require("which-key").setup {
     plugins = {