Coder Social home page Coder Social logo

vim-bad-whitespace's Introduction

bad-whitespace - Highlights whitespace at the end of lines

http://www.vim.org/scripts/script.php?script_id=3735

Author:  Bit Connor <[email protected]>
Version: 0.2

Get the latest version at:
https://github.com/bitc/vim-bad-whitespace

Inspired by the trailing-whitespace script:
http://www.vim.org/scripts/script.php?script_id=3201

Additional References:
http://vim.wikia.com/wiki/Highlight_unwanted_spaces
http://sartak.org/2011/03/end-of-line-whitespace-in-vim.html

About ~

This plugin highlights whitespace at the end of lines with a red color.

You can erase the bad whitespace with the command |EraseBadWhitespace|

You can manually toggle the highlighting for the current buffer with the
commands |ShowBadWhitespace| |HideBadWhitespace| |ToggleBadWhitespace|

This plugin is better than using the builtin vim 'list' command because it
doesn't show an annoying highlight while you are typing in insert mode at the
end of a line.

This plugin is better than competing plugins because it doesn't show
highlighting in buffers that are not modifiable, which is usually what you
want. This makes it compatible with UI buffers that happen to contain bad
whitespace, such as the quickfix window, or the fugitive plugin.

vim-bad-whitespace's People

Contributors

bcat avatar

Stargazers

 avatar

Watchers

 avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.