require('autopairs_config') require('settings') require('plugins') require('lsp_config') require('telescope_config') require('mappings') require('trim').setup({ disable = {"markdown", "vimwiki"}, patterns = { [[%s/\s\+$//e]], -- remove unwanted spaces [[%s/\($\n\s*\)\+\%$//]], -- trim last line [[%s/\%^\n\+//]], -- trim first line }, }) require('leap').set_default_keymaps() vim.cmd("colorscheme hybrid_material") vim.api.nvim_create_autocmd("FileType", { pattern = "make", command = [[set tabstop=8 shiftwidth=8 softtabstop=0 noexpandtab]] }) vim.api.nvim_create_autocmd("FileType", { pattern = "vimwiki", command = [[setlocal shiftwidth=2 softtabstop=2 expandtab]] }) vim.api.nvim_create_autocmd("FileType", { pattern = "javascript", command = [[setlocal shiftwidth=2 softtabstop=2 expandtab]] }) vim.api.nvim_create_autocmd("FileType", { pattern = "vue", command = [[setlocal shiftwidth=2 softtabstop=2 expandtab]] })