Ehhhyo some more stuff added lol
This commit is contained in:
parent
c67973de2d
commit
213404514a
|
@ -152,6 +152,7 @@ return { -- LSP Configuration & Plugins
|
||||||
-- gopls = {},
|
-- gopls = {},
|
||||||
pyright = {},
|
pyright = {},
|
||||||
deno = {},
|
deno = {},
|
||||||
|
ruff = {},
|
||||||
-- rust_analyzer = {},
|
-- rust_analyzer = {},
|
||||||
-- ... etc. See `:help lspconfig-all` for a list of all the pre-configured LSPs
|
-- ... etc. See `:help lspconfig-all` for a list of all the pre-configured LSPs
|
||||||
--
|
--
|
||||||
|
@ -202,7 +203,6 @@ return { -- LSP Configuration & Plugins
|
||||||
'clang-format',
|
'clang-format',
|
||||||
'codelldb',
|
'codelldb',
|
||||||
'cmake-language-server',
|
'cmake-language-server',
|
||||||
'mypy',
|
|
||||||
'ruff',
|
'ruff',
|
||||||
'pyright',
|
'pyright',
|
||||||
'prettier',
|
'prettier',
|
||||||
|
|
|
@ -4,7 +4,7 @@ return {
|
||||||
init = function()
|
init = function()
|
||||||
local opts = { noremap = true, silent = true }
|
local opts = { noremap = true, silent = true }
|
||||||
-- Lua
|
-- Lua
|
||||||
vim.keymap.set('n', '<A-o>', function()
|
vim.keymap.set({ 'n', 't' }, '<A-o>', function()
|
||||||
require('trouble').toggle()
|
require('trouble').toggle()
|
||||||
end, opts)
|
end, opts)
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@ return {
|
||||||
config = function()
|
config = function()
|
||||||
local lint = require 'lint'
|
local lint = require 'lint'
|
||||||
lint.linters_by_ft = {
|
lint.linters_by_ft = {
|
||||||
python = { 'mypy', 'ruff' },
|
python = { 'ruff' },
|
||||||
cpp = { 'cppcheck' },
|
cpp = { 'cppcheck' },
|
||||||
c = { 'cppcheck' },
|
c = { 'cppcheck' },
|
||||||
javascript = { 'eslint' },
|
javascript = { 'eslint' },
|
||||||
|
|
|
@ -17,9 +17,7 @@ return {
|
||||||
},
|
},
|
||||||
opts = {
|
opts = {
|
||||||
filesystem = {
|
filesystem = {
|
||||||
window = {
|
window = {},
|
||||||
mappings = {},
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue