mirror of
https://github.com/m-housh/dotfiles.git
synced 2026-02-14 06:12:34 +00:00
feat: Adds ripgrep to dev run, adds chsh to system script.
This commit is contained in:
3
env/.config/nvim/init.lua
vendored
3
env/.config/nvim/init.lua
vendored
@@ -121,7 +121,6 @@ vim.api.nvim_create_autocmd({ "BufRead", "BufNewFile" }, {
|
||||
callback = function(args)
|
||||
local first_line = vim.api.nvim_buf_get_lines(args.buf, 0, 1, false)[1] or ""
|
||||
if first_line:match("^#!.*zsh") then
|
||||
-- vim.bo[args.buf].filetype = "bash"
|
||||
vim.cmd.setlocal("filetype=bash")
|
||||
end
|
||||
end,
|
||||
@@ -145,8 +144,6 @@ vim.api.nvim_create_autocmd("BufEnter", {
|
||||
pattern = "neomutt*",
|
||||
group = vim.api.nvim_create_augroup('my.neomutt', defaultopts),
|
||||
callback = function(_)
|
||||
-- HACK: Set filetype to markdown for '.md' files.
|
||||
-- Not sure why it doesn't detect these as markdown files, but this fixes the issue.
|
||||
vim.cmd.setlocal("filetype=markdown")
|
||||
vim.cmd.setlocal("textwidth=120")
|
||||
vim.cmd.setlocal("spell spelllang=en_us")
|
||||
|
||||
4
runs/dev
4
runs/dev
@@ -22,12 +22,12 @@ yay -S --noconfirm --needed \
|
||||
nodejs \
|
||||
npm \
|
||||
pcre2 \
|
||||
ripgrep \
|
||||
starship \
|
||||
tldr \
|
||||
tmux \
|
||||
tree-sitter-cli \
|
||||
zoxide \
|
||||
zsh
|
||||
zoxide
|
||||
|
||||
# Fonts
|
||||
yay -S --noconfirm \
|
||||
|
||||
@@ -8,4 +8,5 @@ yay ${1:-"-S --noconfirm"} catppuccin-gtk-theme-mocha \
|
||||
swaync \
|
||||
yubikey-manager \
|
||||
nfs-utils \
|
||||
firewalld
|
||||
firewalld \
|
||||
zsh
|
||||
|
||||
Reference in New Issue
Block a user