summaryrefslogtreecommitdiff
path: root/.config/nvim/lua
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2021-07-07 12:08:47 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2021-07-07 12:08:47 +0200
commit4918f8747e2d3e4d3342bb1f5ee05db6198819d1 (patch)
treea3921df9c422a4bf9bc254d7ca0dbf347364ef4f /.config/nvim/lua
parent0111b31cb0008f4fcc55ddc373e63f124652b156 (diff)
Enable dashboard, fixed typo in init.lua for dashboard
Diffstat (limited to '.config/nvim/lua')
-rw-r--r--.config/nvim/lua/cfg/dashboard/init.lua2
-rw-r--r--.config/nvim/lua/cfg/treesitter/init.lua5
-rw-r--r--.config/nvim/lua/default-config.lua24
3 files changed, 2 insertions, 29 deletions
diff --git a/.config/nvim/lua/cfg/dashboard/init.lua b/.config/nvim/lua/cfg/dashboard/init.lua
index 0d6dcb1..2305243 100644
--- a/.config/nvim/lua/cfg/dashboard/init.lua
+++ b/.config/nvim/lua/cfg/dashboard/init.lua
@@ -50,7 +50,7 @@ M.config = function()
-- vim.g.dashboard_custom_footer = O.dashboard.footer
end
-require("_utils").define_augroups {
+require("cfg.utils").define_augroups {
_dashboard = {
-- seems to be nobuflisted that makes my stuff disapear will do more testing
{
diff --git a/.config/nvim/lua/cfg/treesitter/init.lua b/.config/nvim/lua/cfg/treesitter/init.lua
index 27877f0..12525da 100644
--- a/.config/nvim/lua/cfg/treesitter/init.lua
+++ b/.config/nvim/lua/cfg/treesitter/init.lua
@@ -134,9 +134,4 @@ require("nvim-treesitter.configs").setup {
show_help = "?",
},
},
- rainbow = {
- enable = O.plugin.ts_rainbow.active,
- extended_mode = true, -- Highlight also non-parentheses delimiters, boolean or table: lang -> boolean
- max_file_lines = 1000, -- Do not enable for files with more than 1000 lines, int
- },
}
diff --git a/.config/nvim/lua/default-config.lua b/.config/nvim/lua/default-config.lua
index ed28b79..0207635 100644
--- a/.config/nvim/lua/default-config.lua
+++ b/.config/nvim/lua/default-config.lua
@@ -13,7 +13,7 @@ O = {
number = true,
relative_number = true,
cursorline = true,
- shell = "bash",
+ shell = "zsh",
timeoutlen = 100,
nvim_tree_disable_netrw = 0,
ignore_case = true,
@@ -72,7 +72,6 @@ O = {
ts_autotag = { active = false },
ts_textobjects = { active = false },
ts_playground = { active = false },
- ts_rainbow = { active = false },
ts_textsubjects = { active = false },
telescope_fzy = { active = false },
telescope_project = { active = false },
@@ -166,14 +165,6 @@ O = {
cross_file_rename = true,
header_insertion = "never",
},
- ruby = {
- diagnostics = {
- virtualtext = { spacing = 0, prefix = "" },
- signs = true,
- underline = true,
- },
- filetypes = { "rb", "erb", "rakefile", "ruby" },
- },
go = {},
elixir = {},
vim = {},
@@ -190,18 +181,6 @@ O = {
underline = true,
},
},
- svelte = {},
- php = {
- environment = {
- php_version = "7.4",
- },
- diagnostics = {
- virtual_text = { spacing = 0, prefix = "" },
- signs = true,
- underline = true,
- },
- filetypes = { "php", "phtml" },
- },
latex = {},
kotlin = {},
html = {},
@@ -211,7 +190,6 @@ O = {
efm = {},
docker = {},
cmake = {},
- java = {},
css = {
virtual_text = true,
},