Compare commits

...

7 Commits

  1. 11
      nix-darwin/home.nix
  2. 4
      nvchad/.config/nvim/lua/chadrc.lua
  3. 15
      nvchad/.config/nvim/lua/configs/lspconfig.lua
  4. 28
      nvchad/.config/nvim/lua/plugins/init.lua

@ -161,11 +161,12 @@
python3
python312Packages.pip
# scala
metals
# Scala
# metals # handled by coursier
scalafmt
sbt
coursier
jdk
# formatters
shfmt
@ -236,6 +237,9 @@
# GHCup
export PATH="$PATH:$HOME/.ghcup/bin"
# CS (Scala)
export PATH="$PATH:$HOME/Library/Application Support/Coursier/bin"
# Super hacky and fucking stupid way of doing things - stuff
# export PATH="/opt/homebrew/opt/llvm/bin:$PATH"
# export LDFLAGS="-L/opt/homebrew/opt/llvm/lib $LDFLAGS"
@ -301,6 +305,9 @@
# Window status styling
set-window-option -g window-status-style fg=colour244,bg=default
set-window-option -g window-status-current-style fg=colour166,bg=default
# Truecolor support
set-option -sa terminal-overrides ",xterm*:Tc"
'';
};

@ -37,8 +37,8 @@ end
M = {
base46 = {
theme = "onenord",
theme_toggle = { "onenord", "blossom_light" },
theme = "ayu_dark",
theme_toggle = { "ayu_dark", "ayu_light" },
},
ui = {
hl_override = highlights.override,

@ -14,7 +14,6 @@ local servers = {
"tailwindcss",
"pyright",
"julials",
"metals",
}
-- lsps with default config
@ -25,3 +24,17 @@ for _, lsp in ipairs(servers) do
capabilities = capabilities,
})
end
lspconfig.metals.setup({
settings = {
showImplicitArguments = true,
excludedPackages = { "akka.actor.typed.javadsl", "com.github.swagger.akka.javadsl" },
},
init_options = {
statusBarProvider = "on",
},
-- on_attach = function(client, bufnr)
-- -- Add your keybindings and other on_attach functions here
-- end,
})

@ -140,6 +140,7 @@ local plugins = {
"zig",
"rust",
"vhdl",
"scala",
},
indent = {
enable = true,
@ -157,29 +158,10 @@ local plugins = {
-- end,
},
-- {
-- "numToStr/Comment.nvim",
-- dependencies = "JoosepAlviste/nvim-ts-context-commentstring",
-- config = function()
-- require("Comment").setup({
-- pre_hook = require("ts_context_commentstring.integrations.comment_nvim").create_pre_hook(),
-- })
-- end,
-- },
-- To make a plugin not be loaded
-- {
-- "NvChad/nvim-colorizer.lua",
-- enabled = false
-- },
-- All NvChad plugins are lazy-loaded by default
-- For a plugin to be loaded, you will need to set either `ft`, `cmd`, `keys`, `event`, or set `lazy = false`
-- If you want a plugin to load on startup, add `lazy = false` to a plugin spec, for example
-- {
-- "mg979/vim-visual-multi",
-- lazy = false,
-- }
{
"NvChad/nvim-colorizer.lua",
enabled = true
},
}
return plugins

Loading…
Cancel
Save