wip
This commit is contained in:
parent
f7565c3e45
commit
c77521f028
7
init.lua
7
init.lua
|
|
@ -133,6 +133,8 @@ require('lazy').setup({
|
|||
theme = 'auto',
|
||||
component_separators = '|',
|
||||
section_separators = '',
|
||||
'filename',
|
||||
path=1,
|
||||
},
|
||||
},
|
||||
},
|
||||
|
|
@ -298,6 +300,10 @@ vim.keymap.set('n', '<leader>sr', require('telescope.builtin').resume, { desc =
|
|||
require('nvim-treesitter.configs').setup {
|
||||
-- Add languages to be installed here that you want installed for treesitter
|
||||
ensure_installed = { 'c', 'cpp', 'go', 'lua', 'python', 'rust', 'tsx', 'javascript', 'typescript', 'vimdoc', 'vim' },
|
||||
modules = {},
|
||||
sync_install = false,
|
||||
ignore_install = {},
|
||||
parser_install_dir = nil,
|
||||
|
||||
-- Autoinstall languages that are not installed. Defaults to false (but you can change for yourself!)
|
||||
auto_install = false,
|
||||
|
|
@ -463,6 +469,7 @@ cmp.setup {
|
|||
luasnip.lsp_expand(args.body)
|
||||
end,
|
||||
},
|
||||
revision=1,
|
||||
mapping = cmp.mapping.preset.insert {
|
||||
['<C-n>'] = cmp.mapping.select_next_item(),
|
||||
['<C-p>'] = cmp.mapping.select_prev_item(),
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
vim.opt.nu = true
|
||||
vim.opt.relativenumber = true
|
||||
|
||||
vim.opt.tabstop = 2
|
||||
vim.opt.softtabstop = 2
|
||||
vim.opt.shiftwidth = 2
|
||||
vim.opt.tabstop = 4
|
||||
vim.opt.softtabstop = 4
|
||||
vim.opt.shiftwidth = 4
|
||||
vim.opt.expandtab = true
|
||||
|
||||
vim.opt.smartindent = true
|
||||
|
|
|
|||
Loading…
Reference in New Issue