Skip to content

Commit

Permalink
Migrate rtx to mise
Browse files Browse the repository at this point in the history
  • Loading branch information
semanser committed Feb 26, 2024
1 parent 49f759b commit de345ed
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
6 changes: 0 additions & 6 deletions nvim/.config/nvim/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,3 @@ vim.opt.rtp:prepend(lazypath)
require("lazy").setup("plugins")

require("lsp")

-- Check if any files were provided as command line arguments
if vim.fn.argc() == 0 then
-- If no files are provided, run the FzfLua command
vim.cmd("autocmd VimEnter * FzfLua files | wincmd p")
end
4 changes: 4 additions & 0 deletions nvim/.config/nvim/lua/lsp.lua
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,10 @@ require("lspconfig").gopls.setup({
unusedparams = true,
},
staticcheck = true,
env = {
GOOS = "js",
GOARCH = "wasm",
},
},
},
})
1 change: 1 addition & 0 deletions nvim/.config/nvim/lua/plugins/coding.lua
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ return {
enabled = false,
},
filetypes = {
astro = true,
typescriptreact = true,
css = true,
sql = true,
Expand Down
2 changes: 1 addition & 1 deletion zsh/.zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ export FZF_DEFAULT_OPTS=" \
--color=marker:#f5e0dc,fg+:#cdd6f4,prompt:#cba6f7,hl+:#f38ba8"

eval "$(direnv hook zsh)"
eval "$(rtx activate zsh)"
eval "$(mise activate zsh)"

source "$(brew --prefix)/share/google-cloud-sdk/path.zsh.inc"
source "$(brew --prefix)/share/google-cloud-sdk/completion.zsh.inc"
Expand Down

0 comments on commit de345ed

Please sign in to comment.