My current neovim config
This commit is contained in:
@@ -0,0 +1,53 @@
|
||||
-- Only required if you have packer configured as `opt`
|
||||
require('buildcmd')
|
||||
require('statusline')
|
||||
require('packer_init')
|
||||
require('keybindings')
|
||||
--vim.opt.guicursor = " "
|
||||
|
||||
vim.opt.nu = true
|
||||
vim.opt.relativenumber = true
|
||||
|
||||
vim.opt.tabstop = 4
|
||||
vim.opt.softtabstop = 4
|
||||
vim.opt.shiftwidth = 4
|
||||
vim.opt.expandtab = true
|
||||
|
||||
vim.opt.smartindent = true
|
||||
|
||||
vim.opt.wrap = false
|
||||
require('nvim-treesitter.configs').setup {
|
||||
ensure_installed = { "c", "cpp", "lua", "zig", "rust" },
|
||||
sync_install = false,
|
||||
auto_install = false,
|
||||
highlight = {
|
||||
enable = true,
|
||||
additional_vim_regex_highlighting = false,
|
||||
},
|
||||
incremental_selection = {
|
||||
},
|
||||
indent = {
|
||||
enable = true,
|
||||
},
|
||||
}
|
||||
require('treesitter-context').setup {
|
||||
enable = true,
|
||||
max_lines = 0,
|
||||
min_window_height = 0,
|
||||
}
|
||||
require('nvim-autopairs').setup{
|
||||
}
|
||||
require('telescope').setup{
|
||||
defaults = {
|
||||
},
|
||||
pickers = {
|
||||
find_files = {
|
||||
--theme = "dropdown",
|
||||
},
|
||||
git_files = {
|
||||
--theme = "dropdown",
|
||||
}
|
||||
},
|
||||
extensions = {
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user