summaryrefslogtreecommitdiff
path: root/utils/installer/config.example.lua
diff options
context:
space:
mode:
authorkylo252 <[email protected]>2021-10-09 22:17:30 +0200
committerkylo252 <[email protected]>2021-10-09 22:17:30 +0200
commitcaf62bcfed4fc6cfed26164e39d22a568d21f9d0 (patch)
tree47f7ddcbe7ef10b6cffd8398dbfc215d94fc2fae /utils/installer/config.example.lua
parent4126e5765d69840660fab2a05bbc664ad0117b95 (diff)
parent82b7a35858479223c1e34bea2f64451ecf1e5f66 (diff)
Merge remote-tracking branch 'origin/rolling'
Diffstat (limited to 'utils/installer/config.example.lua')
-rw-r--r--utils/installer/config.example.lua36
1 files changed, 23 insertions, 13 deletions
diff --git a/utils/installer/config.example.lua b/utils/installer/config.example.lua
index c2c75fbb..346fac98 100644
--- a/utils/installer/config.example.lua
+++ b/utils/installer/config.example.lua
@@ -11,8 +11,7 @@ an executable
-- general
lvim.log.level = "warn"
lvim.format_on_save = true
-lvim.lint_on_save = true
-lvim.colorscheme = "spacegray"
+lvim.colorscheme = "onedarker"
-- keymappings [view all the defaults by pressing <leader>Lk]
lvim.leader = "space"
@@ -42,21 +41,34 @@ lvim.keys.normal_mode["<C-s>"] = ":w<cr>"
-- name = "+Trouble",
-- r = { "<cmd>Trouble lsp_references<cr>", "References" },
-- f = { "<cmd>Trouble lsp_definitions<cr>", "Definitions" },
--- d = { "<cmd>Trouble lsp_document_diagnostics<cr>", "Diagnosticss" },
+-- d = { "<cmd>Trouble lsp_document_diagnostics<cr>", "Diagnostics" },
-- q = { "<cmd>Trouble quickfix<cr>", "QuickFix" },
-- l = { "<cmd>Trouble loclist<cr>", "LocationList" },
--- w = { "<cmd>Trouble lsp_workspace_diagnostics<cr>", "Diagnosticss" },
+-- w = { "<cmd>Trouble lsp_workspace_diagnostics<cr>", "Diagnostics" },
-- }
-- TODO: User Config for predefined plugins
-- After changing plugin config exit and reopen LunarVim, Run :PackerInstall :PackerCompile
lvim.builtin.dashboard.active = true
lvim.builtin.terminal.active = true
-lvim.builtin.nvimtree.side = "left"
+lvim.builtin.nvimtree.setup.view.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.builtin.treesitter.ensure_installed = "maintained"
+lvim.builtin.treesitter.ensure_installed = {
+ "bash",
+ "c",
+ "javascript",
+ "json",
+ "lua",
+ "python",
+ "typescript",
+ "css",
+ "rust",
+ "java",
+ "yaml",
+}
+
lvim.builtin.treesitter.ignore_install = { "haskell" }
lvim.builtin.treesitter.highlight.enabled = true
@@ -90,24 +102,22 @@ lvim.builtin.treesitter.highlight.enabled = true
-- lvim.lang.python.formatters = {
-- {
-- exe = "black",
--- args = {}
-- }
-- }
-- set an additional linter
-- lvim.lang.python.linters = {
-- {
-- exe = "flake8",
--- args = {}
-- }
-- }
-- Additional Plugins
-- lvim.plugins = {
--- {"folke/tokyonight.nvim"}, {
--- "ray-x/lsp_signature.nvim",
--- config = function() require"lsp_signature".on_attach() end,
--- event = "InsertEnter"
--- }
+-- {"folke/tokyonight.nvim"},
+-- {
+-- "folke/trouble.nvim",
+-- cmd = "TroubleToggle",
+-- },
-- }
-- Autocommands (https://neovim.io/doc/user/autocmd.html)