new dwl and some new stuff

This commit is contained in:
Zhongheng Liu 2025-10-13 13:22:48 +02:00
commit 051fa56df0
6 changed files with 2094 additions and 3 deletions

2
dwl

@ -1 +1 @@
Subproject commit 6cd26568d5b8be2252ac0def36cd194b4fb2d7c3
Subproject commit b864f0c99854f236e7fdd85b9bae00150b7ea37e

5
neovim/Makefile Normal file
View file

@ -0,0 +1,5 @@
build:
mkdir -p $(HOME)/.config/nvim/
cp ./init.lua $(HOME)/.config/nvim/init.lua
cp -r ./syntax $(HOME)/.config/nvim/
cp -r ./ftdetect $(HOME)/.config/nvim/

1
neovim/ftdetect/gas.vim Normal file
View file

@ -0,0 +1 @@
au BufRead,BufNewFile *.s,*.asm set filetype=gas

11
neovim/init.lua Normal file
View file

@ -0,0 +1,11 @@
vim.opt.number = true
vim.opt.tabstop = 4
vim.opt.shiftwidth = 4
vim.cmd [[
highlight Normal guibg=none
highlight NonText guibg=none
highlight Normal ctermbg=none
highlight NonText ctermbg=none
]]

2069
neovim/syntax/gas.vim Normal file

File diff suppressed because it is too large Load diff

View file

@ -1,6 +1,6 @@
"$schema" = 'https://starship.rs/config-schema.json'
format = """
$username@$hostname: $directory\
$username@$hostname $sudo: $directory\
$git_status $git_branch $character"""
[hostname]
@ -12,4 +12,9 @@ format = '[$hostname]($style)'
show_always = true
format = '[$user]($style)'
[directory]
truncation_length = 5
fish_style_pwd_dir_length = 1
[sudo]
style = 'bold green'
symbol = 'SUDO'
disabled = false