add more plugins, change some keybinds

This commit is contained in:
2024-06-16 18:55:56 +03:00
parent 1a2bb7dce6
commit b71f7c2cce
9 changed files with 118 additions and 7 deletions

View File

@@ -3,22 +3,26 @@ return {
dependencies = {
"williamboman/mason.nvim",
"williamboman/mason-lspconfig.nvim",
"hrsh7th/nvim-cmp",
"hrsh7th/cmp-nvim-lsp",
"hrsh7th/cmp-buffer",
"hrsh7th/cmp-path",
"SergioRibera/cmp-dotenv",
"hrsh7th/cmp-cmdline",
"hrsh7th/nvim-cmp",
"L3MON4D3/LuaSnip",
"saadparwaiz1/cmp_luasnip",
"L3MON4D3/LuaSnip",
"j-hui/fidget.nvim",
},
config = function()
local cmp = require('cmp')
local luasnip = require("luasnip")
local augroup = vim.api.nvim_create_augroup
local LspGroup = augroup('Lsp', {})
local autocmd = vim.api.nvim_create_autocmd
require("fidget").setup({})
local cmp = require('cmp')
local luasnip = require('luasnip')
require('fidget').setup({})
require('mason').setup({})
require('mason-lspconfig').setup({
-- Replace the language servers listed here
@@ -88,5 +92,19 @@ return {
},
})
local pythonLineLength = 95
require('lspconfig').pylsp.setup {
settings = {
pylsp = {
plugins = {
pycodestyle = {
maxLineLength = pythonLineLength
}
}
}
}
}
end
}