Merge branch 'develop' of github.com:ChrisHilborne/kickstart.nvim into develop

This commit is contained in:
ChrisHilborne 2023-10-30 22:34:42 +01:00
commit 7ef5a8e2d2
4 changed files with 294 additions and 3 deletions

View file

@ -115,7 +115,7 @@ require('lazy').setup({
},
-- Useful plugin to show you pending keybinds.
{ 'folke/which-key.nvim', opts = {} },
{ 'folke/which-key.nvim', opts = {} },
{
-- Adds git related signs to the gutter, as well as utilities for managing changes
'lewis6991/gitsigns.nvim',
@ -147,10 +147,10 @@ require('lazy').setup({
},
},
{ 'mfussenegger/nvim-jdtls' },
-- "gc" to comment visual regions/lines
{ 'numToStr/Comment.nvim', opts = {} },
{ 'numToStr/Comment.nvim', opts = {} },
-- Fuzzy Finder (files, lsp, etc)
{
@ -441,6 +441,7 @@ local servers = {
pyright = {},
rust_analyzer = {},
tsserver = {},
jdtls = { filetypes = { 'java' } },
html = { filetypes = { 'html', 'twig', 'hbs' } },
lua_ls = {
@ -467,6 +468,9 @@ mason_lspconfig.setup {
mason_lspconfig.setup_handlers {
function(server_name)
if server_name == 'jdtls' then
return
end
require('lspconfig')[server_name].setup {
capabilities = capabilities,
on_attach = on_attach,