Compare commits
2
Commits
afbbe29751
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d1cbed06ee | ||
|
|
2baed3ea25 |
@@ -2,6 +2,7 @@ return {
|
|||||||
-- Mason for managing external tools (LSP servers, linters, etc.)
|
-- Mason for managing external tools (LSP servers, linters, etc.)
|
||||||
{
|
{
|
||||||
"williamboman/mason.nvim",
|
"williamboman/mason.nvim",
|
||||||
|
version = "=1.0.1",
|
||||||
config = function()
|
config = function()
|
||||||
require("mason").setup()
|
require("mason").setup()
|
||||||
end
|
end
|
||||||
@@ -9,9 +10,11 @@ return {
|
|||||||
-- Mason LSP config to bridge Mason and nvim-lspconfig
|
-- Mason LSP config to bridge Mason and nvim-lspconfig
|
||||||
{
|
{
|
||||||
"williamboman/mason-lspconfig.nvim",
|
"williamboman/mason-lspconfig.nvim",
|
||||||
|
version = "=1.0.1",
|
||||||
config = function()
|
config = function()
|
||||||
require("mason-lspconfig").setup {
|
require("mason-lspconfig").setup {
|
||||||
ensure_installed = {"pyright"}
|
ensure_installed = {"pyright"},
|
||||||
|
automatic_installation = false, -- Set to true to automatically install servers
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
},
|
},
|
||||||
@@ -122,28 +125,6 @@ return {
|
|||||||
format = lspkind.cmp_format({ with_text = true, maxwidth = 50 })
|
format = lspkind.cmp_format({ with_text = true, maxwidth = 50 })
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
--
|
|
||||||
-- -- Use buffer source for `/` and `?` (if you enabled `native_menu`, this won't work anymore).
|
|
||||||
-- cmp.setup.cmdline('/', {
|
|
||||||
-- sources = {
|
|
||||||
-- { name = 'buffer' }
|
|
||||||
-- }
|
|
||||||
-- })
|
|
||||||
--
|
|
||||||
-- cmp.setup.cmdline('?', {
|
|
||||||
-- sources = {
|
|
||||||
-- { name = 'buffer' }
|
|
||||||
-- }
|
|
||||||
-- })
|
|
||||||
--
|
|
||||||
-- -- Use cmdline & path source for ':' (if you enabled `native_menu`, this won't work anymore).
|
|
||||||
-- cmp.setup.cmdline(':', {
|
|
||||||
-- sources = cmp.config.sources({
|
|
||||||
-- { name = 'path' }
|
|
||||||
-- }, {
|
|
||||||
-- { name = 'cmdline' }
|
|
||||||
-- })
|
|
||||||
-- })
|
|
||||||
require("cmp_r").setup({ })
|
require("cmp_r").setup({ })
|
||||||
end
|
end
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user