Browse Source

feat: add rust and latex stuff

master
Tovi Jaeschke-Rogers 3 months ago
parent
commit
77eb4bd4a8
4 changed files with 7 additions and 10 deletions
  1. +2
    -9
      .config/nvim/lua/tovi/plugins/lspconfig.lua
  2. +2
    -0
      .config/nvim/lua/tovi/plugins/nvim-treesitter.lua
  3. +1
    -1
      .local/bin/tmux-sessionizer
  4. +2
    -0
      .zshrc

+ 2
- 9
.config/nvim/lua/tovi/plugins/lspconfig.lua View File

@ -225,15 +225,8 @@ return {
}, },
rust_analyzer = { rust_analyzer = {
settings = {
["rust-analyzer"] = {
cargo = {
features = {
"client",
"server",
},
},
},
diagnostics = {
enable = false,
}, },
}, },
} }


+ 2
- 0
.config/nvim/lua/tovi/plugins/nvim-treesitter.lua View File

@ -29,12 +29,14 @@ return {
"dockerfile", "dockerfile",
"gitignore", "gitignore",
"php", "php",
"latex",
}, },
-- auto install above language parsers -- auto install above language parsers
auto_install = true, auto_install = true,
-- enable syntax highlighting -- enable syntax highlighting
highlight = { highlight = {
enable = true, enable = true,
disable = { "latex" }
}, },
-- enable indentation -- enable indentation
indent = { enable = true }, indent = { enable = true },


+ 1
- 1
.local/bin/tmux-sessionizer View File

@ -3,7 +3,7 @@
if [[ $# -eq 1 ]]; then if [[ $# -eq 1 ]]; then
selected=$1 selected=$1
else else
selected=$(find ~/Projects ~/go/src/git.tovijaeschke.xyz ~/ -mindepth 1 -maxdepth 1 -type d | fzf)
selected=$(find ~/Projects ~/go/src/git.tovijaeschke.xyz ~/go/src/git.tovijaeschke.xyz/tovi/ ~/ -mindepth 1 -maxdepth 1 -type d | fzf)
fi fi
if [[ -z $selected ]]; then if [[ -z $selected ]]; then


+ 2
- 0
.zshrc View File

@ -21,6 +21,8 @@ export EDITOR=nvim
export GIT_EDITOR=nvim export GIT_EDITOR=nvim
export PATH="${HOME}/.local/bin/:${HOME}/go/bin:${HOME}/.cargo/bin:${PATH}" export PATH="${HOME}/.local/bin/:${HOME}/go/bin:${HOME}/.cargo/bin:${PATH}"
export DOCKER_DEFAULT_PLATFORM=linux/amd64
# Enable substitution in the prompt. # Enable substitution in the prompt.
setopt prompt_subst setopt prompt_subst


Loading…
Cancel
Save