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.)
|
||||
{
|
||||
"williamboman/mason.nvim",
|
||||
version = "=1.0.1",
|
||||
config = function()
|
||||
require("mason").setup()
|
||||
end
|
||||
@@ -9,9 +10,11 @@ return {
|
||||
-- Mason LSP config to bridge Mason and nvim-lspconfig
|
||||
{
|
||||
"williamboman/mason-lspconfig.nvim",
|
||||
version = "=1.0.1",
|
||||
config = function()
|
||||
require("mason-lspconfig").setup {
|
||||
ensure_installed = {"pyright"}
|
||||
ensure_installed = {"pyright"},
|
||||
automatic_installation = false, -- Set to true to automatically install servers
|
||||
}
|
||||
end
|
||||
},
|
||||
@@ -122,28 +125,6 @@ return {
|
||||
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({ })
|
||||
end
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user