fix: Initial pass through each neovim config section for formatting and

removing WSL
This commit is contained in:
2026-03-31 12:09:41 -05:00
parent 095cacf392
commit 0fd6336d5a
5 changed files with 32 additions and 36 deletions

View File

@@ -42,7 +42,7 @@
--
-- Created: 7/2/2012
local vim = vim
-- local vim = vim
vim.loader.enable()
require('custom_functions')
@@ -51,5 +51,4 @@ require('keymappings')
require('settings')
require('autocmds')
require('lsp')
require('wsl')
require('plugins')

View File

@@ -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')

View File

@@ -1,6 +1,8 @@
local cf = require('custom_functions')
vim.g.mapleader = ','
-- Expose custom functions for binding
local cf = require('custom_functions')
-- Standard keybinding options
local options = { noremap = true }

View File

@@ -1,5 +0,0 @@
local wsl = os.getenv('WSL_DISTRO_NAME')
if wsl then
-- Do WSL specific things
end