2022-07-04 17:11:01 +02:00
|
|
|
require('plugins')
|
2022-07-04 14:04:29 +02:00
|
|
|
require('autopairs_config')
|
2022-07-04 14:18:14 +02:00
|
|
|
require('settings')
|
2022-07-03 18:00:31 +02:00
|
|
|
require('lsp_config')
|
2022-07-04 14:04:29 +02:00
|
|
|
require('telescope_config')
|
2022-07-04 16:01:43 +02:00
|
|
|
require('lualine_config')
|
2022-07-03 22:29:19 +02:00
|
|
|
require('mappings')
|
2023-05-08 17:03:45 +02:00
|
|
|
require('trim_config')
|
|
|
|
require('nvim_tree_config')
|
2022-07-04 14:04:29 +02:00
|
|
|
|
2023-05-08 17:03:45 +02:00
|
|
|
local hasleap, leap = pcall(require, 'leap')
|
|
|
|
if hasleap then
|
|
|
|
leap.set_default_keymaps()
|
|
|
|
end
|
2022-07-03 18:00:31 +02:00
|
|
|
|
2023-05-08 17:03:45 +02:00
|
|
|
local hasComment, Comment = pcall(require, 'Comment')
|
|
|
|
if hasComment then
|
|
|
|
Comment.setup()
|
|
|
|
end
|
|
|
|
|
|
|
|
local hastrouble, trouble = pcall(require, 'trouble')
|
|
|
|
if hastrouble then
|
|
|
|
trouble.setup()
|
|
|
|
end
|
|
|
|
|
|
|
|
pcall(function() vim.cmd("colorscheme material") end)
|
2022-07-04 14:31:30 +02:00
|
|
|
|
2022-07-03 18:00:31 +02:00
|
|
|
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]] })
|
2022-07-12 14:16:23 +02:00
|
|
|
vim.api.nvim_create_autocmd("FileType", { pattern = "vimwiki", command = [[setlocal filetype=markdown]] })
|
2022-07-03 18:00:31 +02:00
|
|
|
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]] })
|