dotfiles/NixOS/modules/nvim/files/init.lua

9 lines
465 B
Lua
Raw Normal View History

2024-05-31 18:00:12 +02:00
require('settings')
require('lazy_config')
require('mappings')
require('teaching')
vim.api.nvim_create_autocmd("FileType", { pattern = "make", command = [[set tabstop=8 shiftwidth=8 softtabstop=0 noexpandtab]] })
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]] })