Skip to content

Commit

Permalink
feat: add new neovim config
Browse files Browse the repository at this point in the history
  • Loading branch information
MoodyReaper committed Apr 20, 2024
1 parent 332cba0 commit 162e91a
Show file tree
Hide file tree
Showing 19 changed files with 767 additions and 1 deletion.
17 changes: 17 additions & 0 deletions .cspell-dict.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,16 @@ armv
asdfrc
Astro
astrocommunity
astrocore
astrodark
astrolsp
AstroNvim
astrotheme
astroui
augroup
augroups
autocmd
autocmds
autocommands
autopairs
backoff
Expand All @@ -37,9 +44,11 @@ bytecodes
catppuccin
cheatcode
checksummed
clangd
cleartext
Codecept
codesize
colorschemes
commitlint
compiz
concat
Expand Down Expand Up @@ -88,6 +97,7 @@ fooscript
froms
fullscreen
gcloud
getchar
getvcp
gitdir
gitsubmodule
Expand All @@ -98,6 +108,7 @@ grsync
gruntfuggly
gsettings
gtkrc
habamax
hardfork
haxe
heirline
Expand Down Expand Up @@ -127,19 +138,22 @@ keymap
keypair
killall
lazygit
lazypath
lcov
lefthand
levelname
libsecret
lightspeed
liveshare
localip
localleader
lolilolicon
lspconfig
luasnip
Lxappearance
Mainwindow
mapleader
maplocalleader
markdownlint
matchit
mdbook
Expand All @@ -161,6 +175,7 @@ NONREPARENTING
npairs
numpad
nvim
nvimtools
oderwat
pactl
pango
Expand Down Expand Up @@ -225,6 +240,7 @@ splith
splitv
startcenter
statusline
stdpath
strikethrough
stylelint
stylua
Expand Down Expand Up @@ -253,6 +269,7 @@ uwqhd
vcsh
VDPAU
VIDEODRIVER
vimdocs
vimwiki
virt
virtualenvs
Expand Down
6 changes: 5 additions & 1 deletion .cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,9 @@
}
],
"dictionaries": ["project-dict"],
"ignorePaths": ["./.cspell-dict.txt,", "./fish/fish_variables"]
"ignorePaths": [
"./.cspell-dict.txt",
"./fish/fish_variables",
"./neovim/lazy-lock.json"
]
}
2 changes: 2 additions & 0 deletions install.conf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@
path: gtk/gtkrc-2.0
force: true
~/.themes/FlatColor: gtk/FlatColor/
# Neovim
~/.config/nvim: neovim/
# Pipewire
~/.config/pipewire: pipewire/
# Poetry
Expand Down
20 changes: 20 additions & 0 deletions neovim/.neoconf.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"neodev": {
"library": {
"enabled": true,
"plugins": true
}
},
"neoconf": {
"plugins": {
"lua_ls": {
"enabled": true
}
}
},
"lspconfig": {
"lua_ls": {
"Lua.format.enable": false
}
}
}
7 changes: 7 additions & 0 deletions neovim/.stylua.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
column_width = 120
line_endings = "Unix"
indent_type = "Spaces"
indent_width = 2
quote_style = "AutoPreferDouble"
call_parentheses = "None"
collapse_simple_statement = "Always"
19 changes: 19 additions & 0 deletions neovim/init.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
-- This file simply bootstraps the installation of Lazy.nvim and then calls other files for execution
-- This file doesn't necessarily need to be touched, BE CAUTIOUS editing this file and proceed at your own risk.
local lazypath = vim.env.LAZY or vim.fn.stdpath "data" .. "/lazy/lazy.nvim"
if not (vim.env.LAZY or (vim.uv or vim.loop).fs_stat(lazypath)) then
-- stylua: ignore
vim.fn.system({ "git", "clone", "--filter=blob:none", "https://github.com/folke/lazy.nvim.git", "--branch=stable", lazypath })
end
vim.opt.rtp:prepend(lazypath)

-- validate that lazy is available
if not pcall(require, "lazy") then
-- stylua: ignore
vim.api.nvim_echo({ { ("Unable to load lazy from: %s\n"):format(lazypath), "ErrorMsg" }, { "Press any key to exit...", "MoreMsg" } }, true, {})
vim.fn.getchar()
vim.cmd.quit()
end

require "lazy_setup"
require "polish"
234 changes: 234 additions & 0 deletions neovim/lazy-lock.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,234 @@
{
"AstroNvim": {
"branch": "main",
"commit": "ee2e6a06a01ecd6985d7d3a24d8a79ff57e6f05d"
},
"Comment.nvim": {
"branch": "master",
"commit": "0236521ea582747b58869cb72f70ccfa967d2e89"
},
"LuaSnip": {
"branch": "master",
"commit": "03c8e67eb7293c404845b3982db895d59c0d1538"
},
"aerial.nvim": {
"branch": "master",
"commit": "399e276328be8242ccde01d90f6f6c619f7bb24f"
},
"alpha-nvim": {
"branch": "main",
"commit": "41283fb402713fc8b327e60907f74e46166f4cfd"
},
"astrocore": {
"branch": "main",
"commit": "8939278d819ea4b35e5390157131e14a116091dc"
},
"astrolsp": {
"branch": "main",
"commit": "21629f447c574965399329a8dd925d9eeac82752"
},
"astrotheme": {
"branch": "main",
"commit": "8b316aa3ecd8c4206430379c0b1da0b4e7969ab9"
},
"astroui": {
"branch": "main",
"commit": "399e3d20f2086e772436c20df8b23c47c7fb6f38"
},
"better-escape.nvim": {
"branch": "master",
"commit": "7e86edafb8c7e73699e0320f225464a298b96d12"
},
"cmp-buffer": {
"branch": "main",
"commit": "3022dbc9166796b644a841a02de8dd1cc1d311fa"
},
"cmp-dap": {
"branch": "master",
"commit": "ea92773e84c0ad3288c3bc5e452ac91559669087"
},
"cmp-nvim-lsp": {
"branch": "main",
"commit": "5af77f54de1b16c34b23cba810150689a3a90312"
},
"cmp-path": {
"branch": "main",
"commit": "91ff86cd9c29299a64f968ebb45846c485725f23"
},
"cmp_luasnip": {
"branch": "master",
"commit": "05a9ab28b53f71d1aece421ef32fee2cb857a843"
},
"dressing.nvim": {
"branch": "master",
"commit": "42d767b04c50a6966c9633e3968bc65c0c2f2bfc"
},
"friendly-snippets": {
"branch": "main",
"commit": "ea068f1becd91bcd4591fceb6420d4335e2e14d3"
},
"gitsigns.nvim": {
"branch": "main",
"commit": "52f8da33cc0cadbf1164c4a91c8bfd6895533d67"
},
"guess-indent.nvim": {
"branch": "main",
"commit": "b8ae749fce17aa4c267eec80a6984130b94f80b2"
},
"heirline.nvim": {
"branch": "master",
"commit": "03cff30d7e7d3ba6fdc00925f015822f79cef908"
},
"indent-blankline.nvim": {
"branch": "master",
"commit": "3d08501caef2329aba5121b753e903904088f7e6"
},
"lazy.nvim": {
"branch": "main",
"commit": "bef521ac89c8d423f9d092e37b58e8af0c099309"
},
"lspkind.nvim": {
"branch": "master",
"commit": "1735dd5a5054c1fb7feaf8e8658dbab925f4f0cf"
},
"mason-lspconfig.nvim": {
"branch": "main",
"commit": "2ba17cecfde8b8c7c7c287909a1e4de895223df6"
},
"mason-null-ls.nvim": {
"branch": "main",
"commit": "2b8433f76598397fcc97318d410e0c4f7a4bea6a"
},
"mason-nvim-dap.nvim": {
"branch": "main",
"commit": "3614a39aae98ccd34124b072939d6283853b3dd2"
},
"mason.nvim": {
"branch": "main",
"commit": "c43eeb5614a09dc17c03a7fb49de2e05de203924"
},
"mini.bufremove": {
"branch": "main",
"commit": "931a3bb514147d9e812767275c4beba6b779b1d3"
},
"neo-tree.nvim": {
"branch": "main",
"commit": "7aad1bf3f6b849cbf108e02c55ad4d701cb4d33a"
},
"neoconf.nvim": {
"branch": "main",
"commit": "f8947e998dac4213f6c7bb1c7b843cba64db22dd"
},
"neodev.nvim": {
"branch": "main",
"commit": "da1562e1e3df0e994ddc52cb4ba22376a5d7f2fc"
},
"none-ls.nvim": {
"branch": "main",
"commit": "09a7c58e9283dda582d9805f6b182b5b9f137ec7"
},
"nui.nvim": {
"branch": "main",
"commit": "a0fd35fcbb4cb479366f1dc5f20145fd718a3733"
},
"nvim-autopairs": {
"branch": "master",
"commit": "4f41e5940bc0443fdbe5f995e2a596847215cd2a"
},
"nvim-cmp": {
"branch": "main",
"commit": "ce16de5665c766f39c271705b17fff06f7bcb84f"
},
"nvim-colorizer.lua": {
"branch": "master",
"commit": "85855b38011114929f4058efc97af1059ab3e41d"
},
"nvim-dap": {
"branch": "master",
"commit": "9d81c11fd185a131f81841e64941859305f6c42d"
},
"nvim-dap-ui": {
"branch": "master",
"commit": "f7d75cca202b52a60c520ec7b1ec3414d6e77b0f"
},
"nvim-lspconfig": {
"branch": "master",
"commit": "9eb6d866840df0f3fb1d2e8f34a7e0cfdf80f980"
},
"nvim-nio": {
"branch": "master",
"commit": "5800f585def265d52f1d8848133217c800bcb25d"
},
"nvim-notify": {
"branch": "master",
"commit": "5371f4bfc1f6d3adf4fe9d62cd3a9d44356bfd15"
},
"nvim-treesitter": {
"branch": "master",
"commit": "208d504421e4ac53f4230a34cd4b831e8e76cb69"
},
"nvim-treesitter-textobjects": {
"branch": "master",
"commit": "23b820146956b3b681c19e10d3a8bc0cbd9a1d4c"
},
"nvim-ts-autotag": {
"branch": "main",
"commit": "531f48334c422222aebc888fd36e7d109cb354cd"
},
"nvim-ts-context-commentstring": {
"branch": "main",
"commit": "a6382f744f584bbf71d0a563af789af7190aabda"
},
"nvim-ufo": {
"branch": "main",
"commit": "a5390706f510d39951dd581f6d2a972741b3fa26"
},
"nvim-web-devicons": {
"branch": "master",
"commit": "b3468391470034353f0e5110c70babb5c62967d3"
},
"nvim-window-picker": {
"branch": "main",
"commit": "41cfaa428577c53552200a404ae9b3a0b5719706"
},
"plenary.nvim": {
"branch": "master",
"commit": "50012918b2fc8357b87cff2a7f7f0446e47da174"
},
"promise-async": {
"branch": "main",
"commit": "38a4575da9497326badd3995e768b4ccf0bb153e"
},
"resession.nvim": {
"branch": "master",
"commit": "dc8825439c619030925543a444c4186a2487c200"
},
"smart-splits.nvim": {
"branch": "master",
"commit": "f6fcb79527872e9330c554915af2ca511c388390"
},
"telescope-fzf-native.nvim": {
"branch": "main",
"commit": "9ef21b2e6bb6ebeaf349a0781745549bbb870d27"
},
"telescope.nvim": {
"branch": "master",
"commit": "6312868392331c9c0f22725041f1ec2bef57c751"
},
"todo-comments.nvim": {
"branch": "main",
"commit": "a7e39ae9e74f2c8c6dc4eea6d40c3971ae84752d"
},
"toggleterm.nvim": {
"branch": "main",
"commit": "193786e0371e3286d3bc9aa0079da1cd41beaa62"
},
"vim-illuminate": {
"branch": "master",
"commit": "305bf07b919ac526deb5193280379e2f8b599926"
},
"which-key.nvim": {
"branch": "main",
"commit": "ce741eb559c924d72e3a67d2189ad3771a231414"
}
}
Loading

0 comments on commit 162e91a

Please sign in to comment.