Hi @codehia, I think you're asking about whitespace characters to be able to count indentation, is that right?
For example:
def md_prefix(i):
return f"{i * ' '}*" if i else "\n##" # With empty whitespace
def·md_prefix(i):
····return·f"{i·*·'··'}*"·if·i·else·"\n##" # With visible characters filling the whitespace
# Note: the dots are not actual characters in the file, they are only visible in vim.
If this is what you are after, you can add the following settings to your vimrc file. This is not specific to python or vim-monokai-tasty, it will show whitespace on all files using any colorscheme.
set list " display unprintable whitespace characters
set listchars=tab:├─,trail:·,space:· " characters to use for unprintable whitespace characters
Hi @codehia, I think you're asking about whitespace characters to be able to count indentation, is that right?
For example:
If this is what you are after, you can add the following settings to your vimrc file. This is not specific to python or vim-monokai-tasty, it will show whitespace on all files using any colorscheme.
Let me know if this helps!