Is there a way to set a color for word file
and keep other colors the same in this example? I see only 3 scopes and can’t figure out how to use them:
source.python meta.qualified-name.python meta.generic-name.python
def list_files_in_dir(directory, mask=''):
lst = []
for file_name in os.listdir(directory):
file = os.path.join(directory, file_name)
if os.path.isfile(file) and file.endswith(mask):
lst.append(file)
return natsorted(lst)