Closed sQVe closed 3 months ago
Marking this as draft until I have fixed the breaking directory change.
PR should now be ready for review.
Overall this looks good. Can you remove the .editorconfig
file from this PR though? I think I'd rather add a stylua
config to handle consistent formatting.
Overall this looks good. Can you remove the
.editorconfig
file from this PR though? I think I'd rather add astylua
config to handle consistent formatting.
Of course. I'll remove it as soon as possible.
One might argue that having a .editorconfig
never hurts, since Neovim has builtin support for it.
@garymjr Removed the .editorconfig
now.
Thanks! Merging now
Overview
This pull request primarily adds proper handling of symlinks, while also improving
scan_for_snippets
.This pull request introduces a new
.editorconfig
file to standardize coding styles across the project and refactors thescan_for_snippets
function inlua/snippets/utils/init.lua
to improve its functionality and readability.Key changes
Configuration
.editorconfig
file: This file is used to standardize coding styles across the project and enforce consistent formatting.Code Refactoring
Updated
scan_for_snippets
function:string[]
.vim.uv.fs_scandir
withvim.uv.fs_stat
to check the type of the directory entry..json
extension and add it to the result.Fixed indentation:
register_cmp_source
function to use tabs instead of spaces.