You've already forked dotfiles
fix: Initial pass through each neovim config section for formatting and
removing WSL
This commit is contained in:
@@ -19,7 +19,7 @@ vim.api.nvim_create_autocmd({ 'BufReadPre' }, {
|
||||
local file_size = math.floor(0.5 + (stats.size / (1024 * 1024)))
|
||||
|
||||
if file_size > max_filesize_MiB then
|
||||
-- print(string.format('Big file detected above %sMiB. Disabling syntax, treesitter, and folding.', max_filesize_MiB))
|
||||
print(string.format('File detected above %sMiB. Disabling syntax, treesitter, and folding.', max_filesize_MiB))
|
||||
vim.api.nvim_command('set foldmethod=manual')
|
||||
vim.api.nvim_command('set noswapfile')
|
||||
vim.api.nvim_command('set noundofile')
|
||||
|
||||
Reference in New Issue
Block a user