uwu
This commit is contained in:
parent
af1663315a
commit
d2219b0ff1
|
@ -1,4 +1,6 @@
|
||||||
|
|
||||||
|
vim.o.termguicolors=true
|
||||||
|
|
||||||
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
|
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
|
||||||
if not vim.loop.fs_stat(lazypath) then
|
if not vim.loop.fs_stat(lazypath) then
|
||||||
vim.fn.system({
|
vim.fn.system({
|
||||||
|
@ -13,7 +15,8 @@ end
|
||||||
vim.opt.rtp:prepend(lazypath)
|
vim.opt.rtp:prepend(lazypath)
|
||||||
vim.g.mapleader = " "
|
vim.g.mapleader = " "
|
||||||
|
|
||||||
ops = {} -- see https://github.com/folke/lazy.nvim#%EF%B8%8F-configuration
|
|
||||||
|
local opts = {} -- see https://github.com/folke/lazy.nvim#%EF%B8%8F-configuration
|
||||||
|
|
||||||
require("lazy").setup("plugins", opts)
|
require("lazy").setup("plugins", opts)
|
||||||
|
|
||||||
|
|
|
@ -1,24 +1,26 @@
|
||||||
{
|
{
|
||||||
"LuaSnip": { "branch": "master", "commit": "82108e7e31cc6fc223cc5df5cae6d89f70bb199f" },
|
"LuaSnip": { "branch": "master", "commit": "878ace11983444d865a72e1759dbcc331d1ace4c" },
|
||||||
"cmp-buffer": { "branch": "main", "commit": "3022dbc9166796b644a841a02de8dd1cc1d311fa" },
|
"cmp-buffer": { "branch": "main", "commit": "3022dbc9166796b644a841a02de8dd1cc1d311fa" },
|
||||||
"cmp-nvim-lsp": { "branch": "main", "commit": "5af77f54de1b16c34b23cba810150689a3a90312" },
|
"cmp-nvim-lsp": { "branch": "main", "commit": "39e2eda76828d88b773cc27a3f61d2ad782c922d" },
|
||||||
"cmp-nvim-lua": { "branch": "main", "commit": "f12408bdb54c39c23e67cab726264c10db33ada8" },
|
"cmp-nvim-lua": { "branch": "main", "commit": "f12408bdb54c39c23e67cab726264c10db33ada8" },
|
||||||
"cmp-path": { "branch": "main", "commit": "91ff86cd9c29299a64f968ebb45846c485725f23" },
|
"cmp-path": { "branch": "main", "commit": "91ff86cd9c29299a64f968ebb45846c485725f23" },
|
||||||
"cmp_luasnip": { "branch": "master", "commit": "05a9ab28b53f71d1aece421ef32fee2cb857a843" },
|
"cmp_luasnip": { "branch": "master", "commit": "05a9ab28b53f71d1aece421ef32fee2cb857a843" },
|
||||||
"friendly-snippets": { "branch": "main", "commit": "69a2c1675b66e002799f5eef803b87a12f593049" },
|
"friendly-snippets": { "branch": "main", "commit": "d0610077b6129cf9f7f78afbe3a1425d60f6e2f1" },
|
||||||
"hydra.nvim": { "branch": "master", "commit": "55de54543d673824435930ecf533256eea2e565b" },
|
"hydra.nvim": { "branch": "master", "commit": "55de54543d673824435930ecf533256eea2e565b" },
|
||||||
"kanagawa.nvim": { "branch": "master", "commit": "c19b9023842697ec92caf72cd3599f7dd7be4456" },
|
"kanagawa.nvim": { "branch": "master", "commit": "08ed29989834f5f2606cb1ef9d5b24c5ea7b8fa5" },
|
||||||
"lazy.nvim": { "branch": "main", "commit": "96584866b9c5e998cbae300594d0ccfd0c464627" },
|
"lazy.nvim": { "branch": "main", "commit": "ad30030b6abca7dac5a493c58b4d183b3fe93202" },
|
||||||
"lazygit.nvim": { "branch": "main", "commit": "ad3e1ea592f9d13e86e0d4e850224d9d78069508" },
|
"lazygit.nvim": { "branch": "main", "commit": "ad3e1ea592f9d13e86e0d4e850224d9d78069508" },
|
||||||
"lsp-inlayhints.nvim": { "branch": "main", "commit": "d981f65c9ae0b6062176f0accb9c151daeda6f16" },
|
"lsp-inlayhints.nvim": { "branch": "main", "commit": "d981f65c9ae0b6062176f0accb9c151daeda6f16" },
|
||||||
"lsp-zero.nvim": { "branch": "v1.x", "commit": "aa36afcf7a59fbd98008c9a434593c423d3d649a" },
|
"lsp-zero.nvim": { "branch": "v1.x", "commit": "aa36afcf7a59fbd98008c9a434593c423d3d649a" },
|
||||||
"mason-lspconfig.nvim": { "branch": "main", "commit": "0989bdf4fdf7b5aa4c74131d7ffccc3f399ac788" },
|
"mason-lspconfig.nvim": { "branch": "main", "commit": "a4caa0d083aab56f6cd5acf2d42331b74614a585" },
|
||||||
"mason.nvim": { "branch": "main", "commit": "e110bc3be1a7309617cecd77bfe4bf86ba1b8134" },
|
"mason.nvim": { "branch": "main", "commit": "0950b15060067f752fde13a779a994f59516ce3d" },
|
||||||
"multicursors.nvim": { "branch": "main", "commit": "8e876fe9db46c1b76c151202b418df21eca07bad" },
|
"multicursors.nvim": { "branch": "main", "commit": "b959ad0f38881e81e757208c6adfc9e6dc24dfc7" },
|
||||||
"nvim-cmp": { "branch": "main", "commit": "538e37ba87284942c1d76ed38dd497e54e65b891" },
|
"nvim-cmp": { "branch": "main", "commit": "5260e5e8ecadaf13e6b82cf867a909f54e15fd07" },
|
||||||
"nvim-lspconfig": { "branch": "master", "commit": "e47ccfae775f0d572ef0f3a7d245f043b259dafc" },
|
"nvim-colorizer.lua": { "branch": "master", "commit": "a065833f35a3a7cc3ef137ac88b5381da2ba302e" },
|
||||||
"nvim-tree.lua": { "branch": "master", "commit": "b8c3a23e76f861d5f0ff3f6714b9b56388984d0b" },
|
"nvim-lspconfig": { "branch": "master", "commit": "710a8fa7379db32199545f30ea01dd8446b9302f" },
|
||||||
"nvim-treesitter": { "branch": "master", "commit": "8cd2b230174efbf7b5d9f49fe2f90bda6b5eb16e" },
|
"nvim-tree.lua": { "branch": "master", "commit": "2bc725a3ebc23f0172fb0ab4d1134b81bcc13812" },
|
||||||
"nvim-web-devicons": { "branch": "master", "commit": "db0c864375c198cacc171ff373e76bfce2a85045" },
|
"nvim-treesitter": { "branch": "master", "commit": "979beffc1a86e7ba19bd6535c0370d8e1aaaad3c" },
|
||||||
"plenary.nvim": { "branch": "master", "commit": "08e301982b9a057110ede7a735dd1b5285eb341f" }
|
"nvim-treesitter-context": { "branch": "master", "commit": "f62bfe19e0fbc13ae95649dfb3cf22f4ff85b683" },
|
||||||
|
"nvim-web-devicons": { "branch": "master", "commit": "b77921fdc44833c994fdb389d658ccbce5490c16" },
|
||||||
|
"plenary.nvim": { "branch": "master", "commit": "a3e3bc82a3f95c5ed0d7201546d5d2c19b20d683" }
|
||||||
}
|
}
|
11
.config/nvim/lua/plugins/coloriser.lua
Normal file
11
.config/nvim/lua/plugins/coloriser.lua
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
return {
|
||||||
|
"norcalli/nvim-colorizer.lua",
|
||||||
|
lazy = true,
|
||||||
|
init = function()
|
||||||
|
local a = "#aaaa";
|
||||||
|
require("colorizer").setup()
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
end
|
||||||
|
}
|
|
@ -32,11 +32,14 @@ return {
|
||||||
-- ih.on_attach(client, bufnr)
|
-- ih.on_attach(client, bufnr)
|
||||||
end)
|
end)
|
||||||
require('mason').setup({})
|
require('mason').setup({})
|
||||||
|
local capabilities = require('cmp_nvim_lsp').default_capabilities()
|
||||||
|
|
||||||
require('mason-lspconfig').setup({
|
require('mason-lspconfig').setup({
|
||||||
ensure_installed = {},
|
ensure_installed = {},
|
||||||
handlers = {
|
handlers = {
|
||||||
function(server_name)
|
function(server_name)
|
||||||
require('lspconfig')[server_name].setup({
|
require('lspconfig')[server_name].setup({
|
||||||
|
capabilities = capabilities,
|
||||||
on_attach = function(client, bufnr)
|
on_attach = function(client, bufnr)
|
||||||
ih.on_attach(client, bufnr)
|
ih.on_attach(client, bufnr)
|
||||||
end,
|
end,
|
||||||
|
@ -44,6 +47,33 @@ return {
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
local cmp = require("cmp")
|
||||||
|
|
||||||
|
cmp.setup({
|
||||||
|
expand = function(args)
|
||||||
|
vim.snippet.expand(args.body)
|
||||||
|
end,
|
||||||
|
window = {
|
||||||
|
completion = cmp.config.window.bordered(),
|
||||||
|
documentation = cmp.config.window.bordered(),
|
||||||
|
},
|
||||||
|
mapping = cmp.mapping.preset.insert({
|
||||||
|
['<C-k>'] = cmp.mapping.scroll_docs(-4),
|
||||||
|
['<C-j>'] = cmp.mapping.scroll_docs(4),
|
||||||
|
['<Tab>'] = cmp.mapping.complete(),
|
||||||
|
['<Esc>'] = cmp.mapping.abort(),
|
||||||
|
['<CR>'] = cmp.mapping.confirm({ select = true }), -- Accept currently selected item. Set `select` to `false` to only confirm explicitly selected items.
|
||||||
|
}),
|
||||||
|
sources = cmp.config.sources({
|
||||||
|
{ name = 'nvim_lsp' },
|
||||||
|
{ name = 'vsnip' }, -- For vsnip users.
|
||||||
|
-- { name = 'luasnip' }, -- For luasnip users.
|
||||||
|
-- { name = 'ultisnips' }, -- For ultisnips users.
|
||||||
|
-- { name = 'snippy' }, -- For snippy users.
|
||||||
|
}, {
|
||||||
|
{ name = 'buffer' },
|
||||||
|
})
|
||||||
|
})
|
||||||
|
|
||||||
-- require('lspconfig').clangd.setup({})
|
-- require('lspconfig').clangd.setup({})
|
||||||
end
|
end
|
||||||
|
|
21
.config/nvim/lua/plugins/treesitter-context.lua
Normal file
21
.config/nvim/lua/plugins/treesitter-context.lua
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
return {
|
||||||
|
"nvim-treesitter/nvim-treesitter-context",
|
||||||
|
lazy=true,
|
||||||
|
init = function()
|
||||||
|
require('treesitter-context').setup{
|
||||||
|
enable = true, -- Enable this plugin (Can be enabled/disabled later via commands)
|
||||||
|
max_lines = 0, -- How many lines the window should span. Values <= 0 mean no limit.
|
||||||
|
min_window_height = 0, -- Minimum editor window height to enable context. Values <= 0 mean no limit.
|
||||||
|
line_numbers = true,
|
||||||
|
multiline_threshold = 20, -- Maximum number of lines to show for a single context
|
||||||
|
trim_scope = 'outer', -- Which context lines to discard if `max_lines` is exceeded. Choices: 'inner', 'outer'
|
||||||
|
mode = 'cursor', -- Line used to calculate context. Choices: 'cursor', 'topline'
|
||||||
|
-- Separator between context and content. Should be a single character string, like '-'.
|
||||||
|
-- When separator is set, the context will only show up when there are at least 2 lines above cursorline.
|
||||||
|
separator = nil,
|
||||||
|
zindex = 20, -- The Z-index of the context window
|
||||||
|
on_attach = nil, -- (fun(buf: integer): boolean) return false to disable attaching
|
||||||
|
}
|
||||||
|
|
||||||
|
end
|
||||||
|
}
|
|
@ -32,9 +32,9 @@ return {
|
||||||
-- disable highlighting for the `tex` filetype, you need to include `latex` in this list as this is
|
-- disable highlighting for the `tex` filetype, you need to include `latex` in this list as this is
|
||||||
-- the name of the parser)
|
-- the name of the parser)
|
||||||
-- list of language that will be disabled
|
-- list of language that will be disabled
|
||||||
disable = { },
|
-- disable = { },
|
||||||
-- Or use a function for more flexibility, e.g. to disable slow treesitter highlight for large files
|
-- Or use a function for more flexibility, e.g. to disable slow treesitter highlight for large files
|
||||||
disable = function(lang, buf)
|
disable = function(_, buf)
|
||||||
local max_filesize = 1024 * 1024 * 1-- 1 MB
|
local max_filesize = 1024 * 1024 * 1-- 1 MB
|
||||||
local ok, stats = pcall(vim.loop.fs_stat, vim.api.nvim_buf_get_name(buf))
|
local ok, stats = pcall(vim.loop.fs_stat, vim.api.nvim_buf_get_name(buf))
|
||||||
if ok and stats and stats.size > max_filesize then
|
if ok and stats and stats.size > max_filesize then
|
||||||
|
|
305
packages/base_packages.list
Normal file
305
packages/base_packages.list
Normal file
|
@ -0,0 +1,305 @@
|
||||||
|
accountsservice
|
||||||
|
acpi
|
||||||
|
aircrack-ng
|
||||||
|
alacritty
|
||||||
|
alsa-firmware
|
||||||
|
alsa-plugins
|
||||||
|
alsa-tools
|
||||||
|
alsa-utils
|
||||||
|
arandr
|
||||||
|
arc-gtk-theme-eos
|
||||||
|
archlinux-xdg-menu
|
||||||
|
ark
|
||||||
|
awesome-terminal-fonts
|
||||||
|
b43-fwcutter
|
||||||
|
bind
|
||||||
|
blender
|
||||||
|
bluedevil
|
||||||
|
blueman
|
||||||
|
bluez
|
||||||
|
bluez-utils
|
||||||
|
breeze-gtk
|
||||||
|
btop
|
||||||
|
btrfs-progs
|
||||||
|
cantarell-fonts
|
||||||
|
cdrtools
|
||||||
|
cloc
|
||||||
|
cpanminus
|
||||||
|
cryptsetup
|
||||||
|
cups
|
||||||
|
cups-browsed
|
||||||
|
cups-filters
|
||||||
|
cups-pdf
|
||||||
|
device-mapper
|
||||||
|
devtools
|
||||||
|
dex
|
||||||
|
dhclient
|
||||||
|
diffutils
|
||||||
|
discord
|
||||||
|
dmenu
|
||||||
|
dmidecode
|
||||||
|
dmraid
|
||||||
|
dnsmasq
|
||||||
|
dolphin
|
||||||
|
dolphin-plugins
|
||||||
|
dosfstools
|
||||||
|
downgrade
|
||||||
|
dracut
|
||||||
|
duf
|
||||||
|
dunst
|
||||||
|
e2fsprogs
|
||||||
|
efibootmgr
|
||||||
|
efitools
|
||||||
|
element-desktop
|
||||||
|
ethtool
|
||||||
|
exfatprogs
|
||||||
|
f2fs-tools
|
||||||
|
fasm
|
||||||
|
feh
|
||||||
|
festival-english
|
||||||
|
ffmpegthumbnailer
|
||||||
|
file-roller
|
||||||
|
filezilla
|
||||||
|
firefox
|
||||||
|
firewalld
|
||||||
|
flameshot
|
||||||
|
foomatic-db
|
||||||
|
foomatic-db-engine
|
||||||
|
foomatic-db-gutenprint-ppds
|
||||||
|
foomatic-db-nonfree
|
||||||
|
foomatic-db-nonfree-ppds
|
||||||
|
foomatic-db-ppds
|
||||||
|
fsarchiver
|
||||||
|
galculator
|
||||||
|
gdb
|
||||||
|
ghostscript
|
||||||
|
gimp
|
||||||
|
glances
|
||||||
|
gparted
|
||||||
|
grub
|
||||||
|
gsfonts
|
||||||
|
gst-libav
|
||||||
|
gst-plugin-pipewire
|
||||||
|
gst-plugins-bad
|
||||||
|
gst-plugins-ugly
|
||||||
|
gthumb
|
||||||
|
gtk-engine-murrine
|
||||||
|
gutenprint
|
||||||
|
gvfs-afc
|
||||||
|
gvfs-gphoto2
|
||||||
|
gvfs-mtp
|
||||||
|
gvfs-nfs
|
||||||
|
gvfs-smb
|
||||||
|
gwenview
|
||||||
|
haveged
|
||||||
|
hdparm
|
||||||
|
hplip
|
||||||
|
hwdetect
|
||||||
|
hwinfo
|
||||||
|
inetutils
|
||||||
|
inkscape
|
||||||
|
intel-ucode
|
||||||
|
inxi
|
||||||
|
iptables-nft
|
||||||
|
iwd
|
||||||
|
jdk8-openjdk
|
||||||
|
jfsutils
|
||||||
|
jq
|
||||||
|
kate
|
||||||
|
kcalc
|
||||||
|
kde-gtk-config
|
||||||
|
kdeconnect
|
||||||
|
keepassxc
|
||||||
|
kgamma
|
||||||
|
kgpg
|
||||||
|
kimageformats5
|
||||||
|
kinfocenter
|
||||||
|
kinit
|
||||||
|
kio-fuse
|
||||||
|
konversation
|
||||||
|
krita
|
||||||
|
kscreen
|
||||||
|
kwallet-pam
|
||||||
|
lazygit
|
||||||
|
less
|
||||||
|
lib32-openal
|
||||||
|
libdvdcss
|
||||||
|
libgsf
|
||||||
|
libisoburn
|
||||||
|
libopenraw
|
||||||
|
libreoffice-fresh
|
||||||
|
libretro-shaders-slang
|
||||||
|
libvirt
|
||||||
|
libwnck3
|
||||||
|
linux
|
||||||
|
linux-firmware
|
||||||
|
linux-headers
|
||||||
|
linux-lts
|
||||||
|
linux-lts-headers
|
||||||
|
lldb
|
||||||
|
logrotate
|
||||||
|
lsb-release
|
||||||
|
lsscsi
|
||||||
|
lvm2
|
||||||
|
lxappearance-gtk3
|
||||||
|
man-db
|
||||||
|
man-pages
|
||||||
|
mariadb-clients
|
||||||
|
mdadm
|
||||||
|
meld
|
||||||
|
mesa-utils
|
||||||
|
mingw-w64-gcc
|
||||||
|
mixxx
|
||||||
|
mlocate
|
||||||
|
modemmanager
|
||||||
|
monero-gui
|
||||||
|
mtools
|
||||||
|
nasm
|
||||||
|
nautilus
|
||||||
|
ncdu
|
||||||
|
neofetch
|
||||||
|
neovim
|
||||||
|
netctl
|
||||||
|
network-manager-applet
|
||||||
|
networkmanager
|
||||||
|
networkmanager-openconnect
|
||||||
|
networkmanager-openvpn
|
||||||
|
nfs-utils
|
||||||
|
nilfs-utils
|
||||||
|
nim
|
||||||
|
nitrogen
|
||||||
|
nmap
|
||||||
|
nodejs
|
||||||
|
noto-fonts
|
||||||
|
noto-fonts-cjk
|
||||||
|
noto-fonts-emoji
|
||||||
|
noto-fonts-extra
|
||||||
|
npm
|
||||||
|
nss-mdns
|
||||||
|
ntfs-3g
|
||||||
|
ntp
|
||||||
|
numlockx
|
||||||
|
obs-studio
|
||||||
|
okular
|
||||||
|
openssh
|
||||||
|
os-prober
|
||||||
|
p7zip
|
||||||
|
pacman-contrib
|
||||||
|
pavucontrol
|
||||||
|
perl
|
||||||
|
pipewire-alsa
|
||||||
|
pipewire-jack
|
||||||
|
pipewire-pulse
|
||||||
|
pkgfile
|
||||||
|
playerctl
|
||||||
|
polkit-gnome
|
||||||
|
poppler-glib
|
||||||
|
postgresql
|
||||||
|
power-profiles-daemon
|
||||||
|
powerdevil
|
||||||
|
print-manager
|
||||||
|
pulseaudio-qt
|
||||||
|
pv
|
||||||
|
python
|
||||||
|
python-capng
|
||||||
|
python-pip
|
||||||
|
python-pipx
|
||||||
|
python-protobuf
|
||||||
|
python-pynvim
|
||||||
|
python-pyqt5
|
||||||
|
python-qrcode
|
||||||
|
python-reportlab
|
||||||
|
qbittorrent
|
||||||
|
qemu-full
|
||||||
|
qt5-3d
|
||||||
|
qt5-charts
|
||||||
|
qt5-datavis3d
|
||||||
|
qt5-remoteobjects
|
||||||
|
qt5-scxml
|
||||||
|
qt5-serialport
|
||||||
|
qt5-websockets
|
||||||
|
raylib
|
||||||
|
rebuild-detector
|
||||||
|
reflector
|
||||||
|
reflector-simple
|
||||||
|
reiserfsprogs
|
||||||
|
remmina
|
||||||
|
retroarch
|
||||||
|
retroarch-assets-glui
|
||||||
|
retroarch-assets-ozone
|
||||||
|
retroarch-assets-xmb
|
||||||
|
riscv64-elf-gcc
|
||||||
|
rofi
|
||||||
|
rsync
|
||||||
|
rtkit
|
||||||
|
ruby
|
||||||
|
s-nail
|
||||||
|
scrot
|
||||||
|
sddm-kcm
|
||||||
|
sg3_utils
|
||||||
|
smartmontools
|
||||||
|
sof-firmware
|
||||||
|
spectacle
|
||||||
|
speech-dispatcher
|
||||||
|
splix
|
||||||
|
steam
|
||||||
|
sudo
|
||||||
|
supertuxkart
|
||||||
|
swaks
|
||||||
|
sysfsutils
|
||||||
|
sysstat
|
||||||
|
system-config-printer
|
||||||
|
systemd-sysvcompat
|
||||||
|
texinfo
|
||||||
|
thunar
|
||||||
|
thunar-archive-plugin
|
||||||
|
thunar-volman
|
||||||
|
thunderbird
|
||||||
|
ttf-bitstream-vera
|
||||||
|
ttf-dejavu
|
||||||
|
ttf-jetbrains-mono-nerd
|
||||||
|
ttf-liberation
|
||||||
|
ttf-opensans
|
||||||
|
tumbler
|
||||||
|
unrar
|
||||||
|
unzip
|
||||||
|
upower
|
||||||
|
usb_modeswitch
|
||||||
|
usbutils
|
||||||
|
valgrind
|
||||||
|
vim
|
||||||
|
virt-manager
|
||||||
|
vlc
|
||||||
|
vulkan-intel
|
||||||
|
welcome
|
||||||
|
wget
|
||||||
|
which
|
||||||
|
wireless_tools
|
||||||
|
wireplumber
|
||||||
|
wpa_supplicant
|
||||||
|
xbindkeys
|
||||||
|
xclip
|
||||||
|
xdg-user-dirs
|
||||||
|
xdg-user-dirs-gtk
|
||||||
|
xdg-utils
|
||||||
|
xed
|
||||||
|
xf86-input-libinput
|
||||||
|
xfce4-terminal
|
||||||
|
xfsprogs
|
||||||
|
xl2tpd
|
||||||
|
xorg-server
|
||||||
|
xorg-xbacklight
|
||||||
|
xorg-xdpyinfo
|
||||||
|
xorg-xinit
|
||||||
|
xorg-xinput
|
||||||
|
xorg-xkill
|
||||||
|
xorg-xrandr
|
||||||
|
xsane
|
||||||
|
xsettingsd
|
||||||
|
yay
|
||||||
|
yt-dlp
|
||||||
|
zig
|
||||||
|
zls
|
||||||
|
zsh
|
||||||
|
zsh-autosuggestions
|
||||||
|
zsh-syntax-highlighting
|
Loading…
Reference in New Issue
Block a user