Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
JafarAbdi committed Jan 20, 2025
1 parent 6d18138 commit 2fc4281
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
5 changes: 0 additions & 5 deletions fish/config.fish
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ set -x ROS_WS_DIR $WORKSPACE_DIR/ros
set MAMBA_LEFT_PROMPT
set -x CPP_SCREATCHES_DIR $HOME/workspaces/pixi_workspaces/cpp_ws
set -x RUST_SCREATCHES_DIR $HOME/workspaces/rust/scratches/src/bin
set -x NPM_PACKAGES "$HOME/.npm-packages"
set -x MANPATH $NPM_PACKAGES/share/man $MANPATH
export PIXI_FROZEN=true
export XMODIFIERS="@im=none"

Expand Down Expand Up @@ -39,9 +37,6 @@ function get_path
if test -d $HOME/.config/lua-lsp/bin
set path $HOME/.config/lua-lsp/bin:$path
end
if test -d $NPM_PACKAGES/bin
set path $NPM_PACKAGES/bin:$path
end
if test -d $HOME/.luarocks/bin
set path $HOME/.luarocks/bin:$path
end
Expand Down
10 changes: 10 additions & 0 deletions neovim/.config/nvim/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -476,6 +476,15 @@ vim.api.nvim_create_autocmd("FileType", {
vim.opt_local.cindent = false
end,
})

vim.api.nvim_create_autocmd("FileType", {
pattern = { "markdown" },
group = general_group,
callback = function()
vim.opt_local.wrap = true
vim.opt_local.conceallevel = 3
end,
})
-- A terrible way to handle symlinks
vim.api.nvim_create_autocmd("BufWinEnter", {
callback = function(params)
Expand Down Expand Up @@ -1652,6 +1661,7 @@ vim.diagnostic.config({
float = true,
},
})
vim.opt.smoothscroll = true
vim.opt.foldenable = false
vim.opt.number = true
vim.opt.mouse = "a"
Expand Down

0 comments on commit 2fc4281

Please sign in to comment.