nvim suggestions order, idk
This commit is contained in:
@@ -90,10 +90,10 @@ cmp.setup({
|
||||
["<CR>"] = cmp.mapping.confirm({ select = true }),
|
||||
},
|
||||
sources = {
|
||||
{ name = "nvim_lsp" }, -- LSP completion
|
||||
{ name = "buffer" }, -- Buffer completion
|
||||
{ name = "path" }, -- Path completion
|
||||
{ name = "luasnip" }, -- Snippet completion
|
||||
{ name = "nvim_lsp" }, -- LSP completion
|
||||
{ name = "buffer" }, -- Buffer completion
|
||||
},
|
||||
})
|
||||
|
||||
@@ -104,6 +104,10 @@ require("nvim-treesitter.configs").setup({
|
||||
},
|
||||
})
|
||||
|
||||
require("oil").setup({
|
||||
default_file_explorer = false,
|
||||
})
|
||||
|
||||
-- nvim-lspconfig - Providing basic, default Nvim LSP client configurations for various LSP servers.
|
||||
local lspconfig = require("lspconfig")
|
||||
lspconfig.pyright.setup({})
|
||||
@@ -121,8 +125,8 @@ require("luasnip").config.set_config({
|
||||
local vim = vim
|
||||
local opt = vim.opt
|
||||
|
||||
opt.foldmethod = "expr"
|
||||
opt.foldexpr = "nvim_treesitter#foldexpr()"
|
||||
-- opt.foldmethod = "expr"
|
||||
-- opt.foldexpr = "nvim_treesitter#foldexpr()"
|
||||
|
||||
vim.wo.number = true
|
||||
vim.wo.relativenumber = true
|
||||
|
Reference in New Issue
Block a user