Update Channels & Configuration

This commit is contained in:
2023-09-08 08:41:16 -04:00
parent 8444f0f341
commit 042a5a069c
5 changed files with 32 additions and 16 deletions

View File

@@ -39,9 +39,9 @@ local diagnostics_active = true
local toggle_diagnostics = function()
diagnostics_active = not diagnostics_active
if diagnostics_active then
vim.diagnostic.show()
vim.diagnostic.enable()
else
vim.diagnostic.hide()
vim.diagnostic.disable()
end
end

View File

@@ -99,10 +99,8 @@ null_ls.setup({
null_ls.builtins.formatting.nixpkgs_fmt,
null_ls.builtins.formatting.lua_format,
null_ls.builtins.formatting.prettier, null_ls.builtins.formatting.gofmt,
null_ls.builtins.diagnostics.sqlfluff
.with({extra_args = {"--dialect", "ansi"}}),
null_ls.builtins.diagnostics.sqlfluff,
null_ls.builtins.formatting.sqlfluff
.with({extra_args = {"--dialect", "ansi"}})
},
on_attach = function(client, bufnr)
if client.supports_method("textDocument/formatting") then

View File

@@ -48,22 +48,14 @@ in
# ------------------
lualine-nvim # Bottom Line
noice-nvim # UI Tweaks
nvim-notify # Noice Dependency
nord-nvim # Theme
nvim-web-devicons # Dev Icons
# ------------------
# --- Treesitter ---
# ------------------
(
nvim-treesitter.withPlugins (
# Exclude Outdated Packages (Causes Issues)
plugins: with pkgs; subtractLists [
tree-sitter-grammars.tree-sitter-bash
tree-sitter-grammars.tree-sitter-kotlin
]
tree-sitter.allGrammars
)
)
nvim-treesitter.withAllGrammars
# ------------------
# ----- Silicon ----
@@ -106,6 +98,7 @@ in
# Telescope Dependencies
ripgrep
fd
tree-sitter
# LSP Dependencies
nodePackages.pyright
@@ -113,6 +106,7 @@ in
nodePackages.typescript-language-server
nodePackages.vscode-langservers-extracted
gopls
go
# Formatters
luaformatter