You've already forked dotfiles
fix: Initial pass through each neovim config section for formatting and
removing WSL
This commit is contained in:
@@ -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')
|
||||
|
||||
@@ -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')
|
||||
|
||||
@@ -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 }
|
||||
|
||||
|
||||
@@ -1,5 +0,0 @@
|
||||
local wsl = os.getenv('WSL_DISTRO_NAME')
|
||||
|
||||
if wsl then
|
||||
-- Do WSL specific things
|
||||
end
|
||||
Reference in New Issue
Block a user