Skip to content

Commit

Permalink
fix(base): misc updates
Browse files Browse the repository at this point in the history
  • Loading branch information
umgbhalla committed Apr 11, 2023
1 parent 016111c commit 514808f
Show file tree
Hide file tree
Showing 7 changed files with 2,795 additions and 2,499 deletions.
1 change: 0 additions & 1 deletion base/kmonad/.config/kmonad/base.kbd
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

(defcfg
;; For Linux
input (device-file "/dev/input/by-path/platform-i8042-serio-0-event-kbd")
Expand Down
27 changes: 7 additions & 20 deletions base/nvim/.config/nvim/lua/user/init.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
-- AstroNvim Configuration Table
--https://git.sr.ht/~whynothugo/lsp_lines.nvim AstroNvim Configuration Table
-- All configuration changes should go inside of the table below

-- You can think of a Lua "table" as a dictionary like data structure the
Expand All @@ -23,10 +23,8 @@ local config = {
-- ["remote3"] = "github_user", -- GitHub user assume AstroNvim fork
-- },
},

-- Set colorscheme to use
colorscheme = "tokyonight-night",

-- Add highlight groups in any theme
highlights = {
-- init = { -- this table overrides highlights in all themes
Expand All @@ -36,7 +34,6 @@ local config = {
-- Normal = { bg = "#000000" },
-- },
},

-- set vim options here (vim.<first_key>.<second_key> = value)
options = {
opt = {
Expand Down Expand Up @@ -82,7 +79,6 @@ local config = {
" ██  ██ ██  ██  ██  ██ ██  ██  ██",
" ██   ████   ████   ██ ██      ██",
},

-- Default theme configuration
default_theme = {
-- Modify the color palette for the default theme
Expand Down Expand Up @@ -126,13 +122,11 @@ local config = {
["which-key"] = true,
},
},

-- Diagnostics configuration (for vim.diagnostics.config({...})) when diagnostics are on
diagnostics = {
virtual_text = true,
underline = true,
},

-- Extend LSP configuration
lsp = {
-- enable servers that you already have installed without mason
Expand Down Expand Up @@ -189,7 +183,6 @@ local config = {
-- },
},
},

-- Mapping data with "desc" stored directly by vim.keymap.set().
--
-- Please use this mappings table to set keyboard mapping since this is the
Expand All @@ -212,7 +205,6 @@ local config = {
-- ["<esc>"] = false,
},
},

-- Configure plugins
plugins = {
init = {
Expand All @@ -225,12 +217,12 @@ local config = {
{ "arecarn/vim-fold-cycle" },
{ "pseewald/vim-anyfold" },
{ "kmonad/kmonad-vim" },
{
"https://git.sr.ht/~whynothugo/lsp_lines.nvim",
event = "UIEnter",
config = function() require("lsp_lines").setup() end,
as = "lsp_lines",
},
-- {
-- "https://git.sr.ht/~whynothugo/lsp_lines.nvim",
-- event = "UIEnter",
-- config = function() require("lsp_lines").setup() end,
-- as = "lsp_lines",
-- },
-- { "SirVer/ultisnips" },
-- { "umgbhalla/nvim-snippets" },
{ "ggandor/leap.nvim", config = function() require("leap").add_default_mappings() end },
Expand Down Expand Up @@ -318,7 +310,6 @@ local config = {
-- config = function() require("lsp_signature").setup() end,
-- },
},

-- All other entries override the require("<key>").setup({...}) call for default plugins
["null-ls"] = function(config) -- overrides `require("null-ls").setup(config)`
-- config variable is the default configuration table for the setup function call
Expand Down Expand Up @@ -349,7 +340,6 @@ local config = {
-- ensure_installed = { "python" },
},
},

-- LuaSnip Options
luasnip = {
-- Extend filetypes
Expand All @@ -362,7 +352,6 @@ local config = {
paths = {},
},
},

-- CMP Source Priorities
-- modify here the priorities of default cmp sources
-- higher value == higher priority
Expand All @@ -377,7 +366,6 @@ local config = {
path = 250,
},
},

-- Modify which-key registration (Use this with mappings table in the above.)
["which-key"] = {
-- Add bindings which show up as group name
Expand All @@ -393,7 +381,6 @@ local config = {
},
},
},

-- This function is run last and is a good place to configuring
-- augroups/autocommands and custom filetypes also this just pure lua so
-- anything that doesn't fit in the normal config locations above can go here
Expand Down
Loading

0 comments on commit 514808f

Please sign in to comment.