Skip to content

Commit

Permalink
fix(nvim): jsonls
Browse files Browse the repository at this point in the history
  • Loading branch information
caarlos0 committed Jul 26, 2023
1 parent a8ae370 commit 5687f82
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
1 change: 1 addition & 0 deletions modules/neovim/config/lua/user/lsp.lua
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ lspconfig.html.setup({
lspconfig.jsonls.setup({
capabilities = capabilities,
on_attach = on_attach,
cmd = { "json-languageserver", "--stdio" },
})

lspconfig.bashls.setup({
Expand Down
8 changes: 3 additions & 5 deletions modules/pkgs.nix
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,6 @@
nur.repos.caarlos0.svu
nur.repos.goreleaser.goreleaser-pro

# fonts
# using berkeley mono now, and wezterm already comes with jetbrains mono.
# (pkgs.nerdfonts.override { fonts = [ "JetBrainsMono" ]; })

# treesitter, lsps, etc
bash-language-server
cargo
Expand Down Expand Up @@ -81,12 +77,14 @@
tree-sitter
typescript-language-server
vscode-html-languageserver-bin
vscode-json-languageserver-bin
yaml-language-server
yamllint
zk
zk # zettelkasten
] ++ (lib.optionals pkgs.stdenv.isDarwin [
nur.repos.caarlos0.discord-applemusic-rich-presence
terminal-notifier
coreutils
]) ++ (lib.optionals pkgs.stdenv.isLinux [
util-linux
docker
Expand Down

0 comments on commit 5687f82

Please sign in to comment.