nvim-old
This commit is contained in:
parent
dbba54cfd8
commit
6380f390ea
26 changed files with 2704 additions and 0 deletions
33
nvim-old/lua-diagnostics.sh
Executable file
33
nvim-old/lua-diagnostics.sh
Executable file
|
|
@ -0,0 +1,33 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Directories and file names
|
||||
nvim_lua_dir="$HOME/.config/nvim/lua"
|
||||
module1="tmux_split_even_horizontal.lua"
|
||||
module2="toggle_rel_abs_numbers.lua"
|
||||
|
||||
# Function to check if a file exists
|
||||
check_file() {
|
||||
if [[ -f "$1" ]]; then
|
||||
echo "File exists: $1"
|
||||
else
|
||||
echo "File NOT found: $1"
|
||||
fi
|
||||
}
|
||||
|
||||
echo "Checking Lua modules..."
|
||||
|
||||
# Check Lua modules
|
||||
check_file "$nvim_lua_dir/$module1"
|
||||
check_file "$nvim_lua_dir/$module2"
|
||||
|
||||
# Check LUA_PATH
|
||||
echo "Checking LUA_PATH..."
|
||||
echo "LUA_PATH=$LUA_PATH"
|
||||
|
||||
# Check Lua module loading
|
||||
echo "Attempting to manually load Lua modules..."
|
||||
lua -e "require('tmux_split_even_horizontal'); print('Module tmux_split_even_horizontal loaded successfully')"
|
||||
lua -e "require('toggle_rel_abs_numbers'); print('Module toggle_rel_abs_numbers loaded successfully')"
|
||||
|
||||
echo "Diagnostic checks complete."
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue