Przeglądaj źródła

Standardize compe builtin (#1083)

* use lvim.builtin for compe

* fix example config

Co-authored-by: Chris <chris@macbook.local>
Christian Chiarulli 4 lat temu
rodzic
commit
6d7dd14245

+ 4 - 13
utils/installer/lv-config.example-no-ts.lua

@@ -1,19 +1,10 @@
---[[
-O is the global options object
-
-Linters should be
-filled in as strings with either
-a global executable or a path to
-an executable
-]]
 -- THESE ARE EXAMPLE CONFIGS FEEL FREE TO CHANGE TO WHATEVER YOU WANT
 
 -- general
-
 lvim.format_on_save = true
 lvim.lint_on_save = true
-lvim.completion.autocomplete = true
 lvim.colorscheme = "spacegray"
+
 -- keymappings
 lvim.leader = "space"
 -- overwrite the key-mappings provided by LunarVim for any mode, or leave it empty to keep them
@@ -42,9 +33,9 @@ lvim.builtin.nvimtree.side = "left"
 lvim.builtin.nvimtree.show_icons.git = 0
 
 -- if you don't want all the parsers change this to a table of the ones you want
-lvim.treesitter.ensure_installed = {}
-lvim.treesitter.ignore_install = { "haskell" }
-lvim.treesitter.highlight.enabled = true
+lvim.builtin.treesitter.ensure_installed = {}
+lvim.builtin.treesitter.ignore_install = { "haskell" }
+lvim.builtin.treesitter.highlight.enabled = true
 
 -- generic LSP settings
 -- you can set a custom on_attach function that will be used for all the language servers

+ 3 - 4
utils/installer/lv-config.example.lua

@@ -12,7 +12,6 @@ an executable
 
 lvim.format_on_save = true
 lvim.lint_on_save = true
-lvim.completion.autocomplete = true
 lvim.colorscheme = "spacegray"
 -- keymappings
 lvim.leader = "space"
@@ -42,9 +41,9 @@ lvim.builtin.nvimtree.side = "left"
 lvim.builtin.nvimtree.show_icons.git = 0
 
 -- if you don't want all the parsers change this to a table of the ones you want
-lvim.treesitter.ensure_installed = "maintained"
-lvim.treesitter.ignore_install = { "haskell" }
-lvim.treesitter.highlight.enabled = true
+lvim.builtin.treesitter.ensure_installed = "maintained"
+lvim.builtin.treesitter.ignore_install = { "haskell" }
+lvim.builtin.treesitter.highlight.enabled = true
 
 -- generic LSP settings
 -- you can set a custom on_attach function that will be used for all the language servers