Void Linux workstation powered by niri, Fish and NeoVim. Contains scripts, browser extensions, custom XBPS packages, and typst plugins. git.anhgelus.world/anhgelus/dotfiles
void niri fish neovim nvim vim dotfiles linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

feat(nvim): support go and auto update plugins following system colorscheme

+28 -3
-1
config/nvim/init.lua
··· 1 1 require('options') 2 2 require('plugin') 3 - require('colorscheme') 4 3 require('keybindings')
+3 -1
config/nvim/lazy-lock.json
··· 1 1 { 2 + "auto-dark-mode.nvim": { "branch": "master", "commit": "e300259ec777a40b4b9e3c8e6ade203e78d15881" }, 2 3 "blink.cmp": { "branch": "main", "commit": "bae4bae0eedd1fa55f34b685862e94a222d5c6f8" }, 4 + "catppuccin": { "branch": "main", "commit": "30fa4d122d9b22ad8b2e0ab1b533c8c26c4dde86" }, 3 5 "friendly-snippets": { "branch": "main", "commit": "572f5660cf05f8cd8834e096d7b4c921ba18e175" }, 4 6 "lazy.nvim": { "branch": "main", "commit": "6c3bda4aca61a13a9c63f1c1d1b16b9d3be90d7a" }, 5 7 "mason-lspconfig.nvim": { "branch": "main", "commit": "7f0bf635082bb9b7d2b37766054526a6ccafdb85" }, 6 8 "mason.nvim": { "branch": "main", "commit": "7dc4facca9702f95353d5a1f87daf23d78e31c2a" }, 7 - "monokai.nvim": { "branch": "master", "commit": "b8bd44d5796503173627d7a1fc51f77ec3a08a63" }, 8 9 "neo-tree.nvim": { "branch": "v3.x", "commit": "cea666ef965884414b1b71f6b39a537f9238bdb2" }, 9 10 "nui.nvim": { "branch": "main", "commit": "de740991c12411b663994b2860f1a4fd0937c130" }, 10 11 "nvim-lspconfig": { "branch": "master", "commit": "f0c6ccf43997a1c7e9ec4aea36ffbf2ddd9f15ef" }, 11 12 "nvim-web-devicons": { "branch": "master", "commit": "c2599a81ecabaae07c49ff9b45dcd032a8d90f1a" }, 12 13 "plenary.nvim": { "branch": "master", "commit": "b9fd5226c2f76c951fc8ed5923d85e4de065e509" }, 13 14 "vim-elixir": { "branch": "master", "commit": "6dff29176eb35e025bc94b262bf6d4e517e11f7d" }, 15 + "vim-go": { "branch": "master", "commit": "06ac99359b0b1a7de1e213447d92fd0a46cb4cd0" }, 14 16 "vim-mix-format": { "branch": "master", "commit": "01a31ef82aa52697d589574da50723980eeae456" } 15 17 }
+2
config/nvim/lua/options.lua
··· 15 15 vim.opt.ignorecase = true -- ignore case in searches by default 16 16 vim.opt.smartcase = true -- but make it case sensitive if an uppercase is entered 17 17 18 + vim.opt.colorcolumn = "120" 19 + 18 20 vim.filetype.add({ 19 21 extension = { 20 22 heex = 'eelixir'
+3
config/nvim/lua/plugins/go.lua
··· 1 + return { 2 + { "fatih/vim-go" } 3 + }
+5 -1
config/nvim/lua/plugins/lsp.lua
··· 15 15 "neovim/nvim-lspconfig", 16 16 }, 17 17 opts = { 18 - ensure_installed = { "pylsp", "elixirls" }, 18 + ensure_installed = { 19 + "pylsp", 20 + "elixirls", 21 + "gopls" 22 + }, 19 23 }, 20 24 }, 21 25 }
+15
config/nvim/lua/plugins/theme.lua
··· 1 + return { 2 + { "catppuccin/nvim", name = "catppuccin" }, 3 + { 4 + "f-person/auto-dark-mode.nvim", 5 + opts = { 6 + set_dark_mode = function() 7 + pcall(vim.cmd, "colorscheme " .. "catppuccin-macchiato") 8 + -- darkest one: pcall(vim.cmd, "colorscheme " .. "catppuccin-mocha") 9 + end, 10 + set_light_mode = function() 11 + pcall(vim.cmd, "colorscheme " .. "catppuccin-latte") 12 + end, 13 + } 14 + } 15 + }