summaryrefslogtreecommitdiff
path: root/lua/default-config.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/default-config.lua')
-rw-r--r--lua/default-config.lua33
1 files changed, 1 insertions, 32 deletions
diff --git a/lua/default-config.lua b/lua/default-config.lua
index a23fb8a6..c2c582fa 100644
--- a/lua/default-config.lua
+++ b/lua/default-config.lua
@@ -58,37 +58,6 @@ O = {
auto_close_tree = 0,
nvim_tree_disable_netrw = 0,
- -- TODO refactor treesitter
- -- @usage pass a table with your desired languages
- treesitter = {
- ensure_installed = "all",
- ignore_install = { "haskell" },
- highlight = { enabled = true },
- -- The below are for treesitter-textobjects plugin
- textobj_prefixes = {
- goto_next = "]", -- Go to next
- goto_previous = "[", -- Go to previous
- inner = "i", -- Select inside
- outer = "a", -- Selct around
- swap = "<leader>a", -- Swap with next
- },
- textobj_suffixes = {
- -- Start and End respectively for the goto keys
- -- for other keys it only uses the first
- ["function"] = { "f", "F" },
- ["class"] = { "m", "M" },
- ["parameter"] = { "a", "A" },
- ["block"] = { "k", "K" },
- ["conditional"] = { "i", "I" },
- ["call"] = { "c", "C" },
- ["loop"] = { "l", "L" },
- ["statement"] = { "s", "S" },
- ["comment"] = { "/", "?" },
- },
- -- The below is for treesitter hint textobjects plugin
- hint_labels = { "h", "j", "f", "d", "n", "v", "s", "l", "a" },
- },
-
lsp = {
document_highlight = true,
popup_border = "single",
@@ -99,7 +68,6 @@ O = {
plugin = {
-- Builtins
diffview = { active = false },
- ts_context_commentstring = { active = false },
ts_hintobjects = { active = false },
ts_textobjects = { active = false },
ts_textsubjects = { active = false },
@@ -263,3 +231,4 @@ require "lv-gitsigns.config"
require "lv-telescope.config"
require "lv-dap.config"
require "lv-which-key.config"
+require "lv-treesitter.config"