26 lines
1.0 KiB
Lua
26 lines
1.0 KiB
Lua
require('autopairs_config')
|
|
require('settings')
|
|
require('plugins')
|
|
require('lsp_config')
|
|
require('telescope_config')
|
|
require('lualine_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()
|
|
require('Comment').setup()
|
|
|
|
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]] })
|