Commit Graph
98 Commits
Author SHA1 Message Date
w0rp 3083d05afd #39 Use getbufline() for MacVim GUI too. 2016-10-10 12:54:39 +01:00
w0rp 8d390384f1 Correct issues with some errors appearing at line 0, not 1. 2016-10-09 21:40:33 +01:00
w0rp 9902eadd33 Up-indent types and defaults, and align markers 2016-10-09 21:23:34 +01:00
w0rp e0036b2f4c Make spacing and indentation consistent in the documentation, and make the docs easier to read. 2016-10-09 21:20:21 +01:00
w0rp a1ecf9ecea Merge branch 'shell-detection' 2016-10-09 21:04:43 +01:00
w0rp 07599d006c Document the default shell option 2016-10-09 20:45:51 +01:00
w0rp b5e4538699 #69 Change the default shell for shell linting 2016-10-09 20:39:14 +01:00
w0rp 2d32c31205 Handle arguments to shells in shebang lines too. 2016-10-09 19:41:27 +01:00
w0rp 9d52d968db #69 Improve shell detection 2016-10-09 19:32:01 +01:00
w0rp 34241edcdb Fix a bug where echoing in modes like visual select caused some errors. 2016-10-09 12:50:51 +01:00
w0rp 8433dbcea9 Remove some trailing whitespace. 2016-10-09 12:50:51 +01:00
w0rp 1ea0eda36c Correct all Vint warnings 2016-10-08 23:55:58 +01:00
w0rp 16a150b277 Make Travis cache pip 2016-10-08 23:53:08 +01:00
w0rp 2c63e0526b Add a Travis config for running vint. 2016-10-08 23:50:13 +01:00
w0rp f17a660888 Send the buffers to the linters using getbufline() on Windows, re issue #39 2016-10-08 21:52:41 +01:00
w0rp 20a28b7856 Handle there being no process for a job better in Vim 8, re issue #39. 2016-10-08 21:04:42 +01:00
w0rp 57b157bbae Use shortmess for shortening long echo lines instead. 2016-10-08 18:04:34 +01:00
w0rp af8df256c0 Don't store jobs themselves in maps in Vim 8, as per issue #39. 2016-10-08 17:27:59 +01:00
w0rp 85d8d2f217 Use cmd /c for Windows commands to fix a bug with running linters on Windows. 2016-10-08 16:01:23 +01:00
w0rp 197137aea0 Add support for Pug with pug-lint. 2016-10-07 22:16:29 +01:00
w0rp 4489514e4b Add a wrapper program for running linters which cannot receive stdin input on Windows. 2016-10-07 21:33:16 +01:00
w0rp e5d9736d7a Denote that Cython needs to use the wrapper script. 2016-10-07 18:36:59 +01:00
w0rp ee80a0d147 Fix some typos and remove some trailing whitespace. 2016-10-07 18:34:23 +01:00
w0rp da1dcc6bb5 Add support for checking Cython files 2016-10-07 18:33:19 +01:00
w0rp d97e25a260 Support reading from both output streams, and fix PHP error parsing, which sometimes logs to stderr, sometimes stdout. 2016-10-07 17:08:11 +01:00
w0rp 3cdd057b11 Add support for changing the eslint executable. 2016-10-06 13:42:52 +01:00
w0rp 596a374c6e Skip setting of signs at line 0 and so on, to avoid any issues there. 2016-10-06 13:01:33 +01:00
w0rp 36acde533f Fix loading of JSHint configuration files. 2016-10-06 12:56:09 +01:00
w0rp 478c32f85d Fix #42, where some linting isn't run when opening some files. 2016-10-06 11:02:43 +01:00
w0rp 7e93181ba8 Add a CONTRIBUTING file. 2016-10-06 10:33:43 +01:00
w0rp 192bf17e92 Add a help file for the project. 2016-10-06 00:22:32 +01:00
w0rp f0da729a9d Fix signs to work with other languages, and create fewer dummy signs 2016-10-05 22:41:48 +01:00
w0rp f9d0673384 Merge branch 'vint-improve' 2016-10-05 11:35:30 +01:00
w0rp 91dc117bec Update the author line and the filenames for the GCC format pattern. 2016-10-05 11:35:16 +01:00
w0rp 0305e8ad62 Simplify the IDs used for the dummy sign, so it automatically uses the configurable offset value. 2016-10-05 10:59:01 +01:00
w0rp 10ae288925 Mention scss-lint in the README. 2016-10-05 10:38:38 +01:00
w0rp 200d9304ab Rename the sasslinters to use the same naming conventions, and add scsslint. 2016-10-05 10:36:38 +01:00
w0rp 1fb34d649b Reduce jittering for signs some more. 2016-10-05 10:25:16 +01:00
w0rp ab555a6984 Reduce screen shaking by leaving the dummy sign in place while signs are being added and removed. 2016-10-05 09:31:11 +01:00
w0rp 6ff4ed93a7 Adjust the enter delay again. 2016-10-05 09:28:43 +01:00
w0rp 61dad857a5 Add a very short delay after opening a buffer for running the linter to get it to run more. Increase the delay when typing a bit to reduce juttering. 2016-10-05 09:27:03 +01:00
w0rp a460f90ed8 Describe the options in the README file. 2016-10-04 23:06:32 +01:00
w0rp 0f96b61825 Fix a bug with loading the wrong user option for warning signs. 2016-10-04 23:00:15 +01:00
w0rp b99cba7b0c Add an example GIF to the README file. 2016-10-04 22:38:43 +01:00
w0rp a95aa97780 Add support for linting when a file is saved. 2016-10-04 21:31:47 +01:00
w0rp aebf8e0196 Change the flags file so it uses the get function. 2016-10-04 21:28:54 +01:00
w0rp 6754b9f1f8 Improve the signs feature so it can work with vim-gitgutter and possibly other plugins. 2016-10-04 21:10:36 +01:00
w0rp c6dc324add Add a function for finding nearest files, and use it to fix JSHint so it will find configuration files automatically. 2016-10-04 18:24:46 +01:00
w0rp bd2f39f21a Handle line numbers beyond the end for any linter. 2016-10-04 18:17:02 +01:00
w0rp 8c1f0178ed Get the filename for buffers in a way that NeoVim will like. 2016-10-04 14:50:07 +01:00
w0rp 705f4232c0 Add support for formatting filenames into commands, and use it to fix linting with older eslint versions. 2016-10-04 13:50:44 +01:00
w0rp 6269ffa0b2 Add support for checking PHP code, courtesy of Spencer Wood. 2016-10-04 00:16:53 +01:00
w0rp 2d1f1fd698 Write YAML for the name instead, and make the example lines match the YAML linter regex. 2016-10-03 23:53:04 +01:00
w0rp fa356ffa1b Mention that shellchecks works for Bash too, of course. 2016-10-03 23:43:54 +01:00
w0rp 8089d83f60 Write "JSON" instead of "Json" in the README 2016-10-03 23:36:19 +01:00
w0rp c102fbe70a Merge branch 'linter-sasslint' 2016-10-03 23:24:26 +01:00
w0rp 65f5e15af5 Rename the SASS files to follow the convention from other files, and move the function for handling CSSLint style output into the handlers file. 2016-10-03 23:24:18 +01:00
w0rp 60a03cb933 Add support for linting with CSSLint. 2016-10-03 18:05:58 +01:00
w0rp 68cc9dbb5e Indicate that a wraper script is used for Vint. 2016-10-03 17:40:57 +01:00
w0rp 552cc7dbc4 Add support for checking Vim code with Vint. 2016-10-03 17:40:02 +01:00
w0rp 2479111884 Remove a test echo line. 2016-10-03 13:45:55 +01:00
w0rp 35f3a1f541 Remove the off-putting alpha message now things are moving along. 2016-10-03 13:19:05 +01:00
w0rp c89c4fcef9 Add support for shellcheck linting. 2016-10-03 13:18:27 +01:00
w0rp 6a442dae6e Fix a bug with reading from large files. Large files we being truncated by closing the input buffer too early. 2016-09-27 15:06:26 +01:00
w0rp facc3a89b4 Merge branch 'patch-3' 2016-09-26 21:44:31 +01:00
w0rp 2a4cbbd0df Add some more prose back in with a link to Vundle. 2016-09-26 21:44:23 +01:00
w0rp 937e979270 Add some notes on usage, and re-arrange things. 2016-09-19 22:19:21 +01:00
w0rp 33dae24632 Add an Installation section for this plugin. 2016-09-19 22:04:11 +01:00
w0rp 57ef2c9833 Add support for checking Haskell code via a wrapper script which can be used for other tools, and fix a readline problem with the DMD wrapper script. 2016-09-18 23:58:04 +01:00
w0rp e0fc0c7bb6 Explain the language and tools table some more. 2016-09-18 19:36:54 +01:00
w0rp b66b6f925a Add support for checking C code with GCC too. 2016-09-18 19:33:33 +01:00
w0rp 9553c24fa0 Add support for checking Fortran syntax with GCC. Mad respect for the mathematicians. 2016-09-18 19:19:40 +01:00
w0rp 0bc4b4c14c Run DUB in a separate process as well, so it will not cause import lag. 2016-09-18 10:38:54 +01:00
w0rp a32b380b6f Add support for linting D code with DMD. 2016-09-16 22:53:53 +01:00
w0rp 02b2ccb9d0 I accidentally credited the wrong guy. Let's fix that. 2016-09-16 09:15:33 +01:00
w0rp f89738c951 Link to explanations of the -n flag of each shell as best as we can. 2016-09-15 21:22:34 +01:00
w0rp 53f2e47dab Update the README file to include jscs, and a comment about keeping the table sorted for new contributors to look at. 2016-09-15 21:15:41 +01:00
w0rp 192b3db3ee Credit fijshion for his work in the files, and make the new linters work again by adding the now required name arguments. 2016-09-15 21:09:04 +01:00
w0rp 8cc28cdfbd Add support for Bash and other shells. Add support for reading from stderr, and for generating the executable from functions. Both were needed to support shell linting. 2016-09-15 20:20:41 +01:00
w0rp d3047c9cf6 Output error codes in the error text too for flake8. 2016-09-15 13:08:35 +01:00
w0rp c4fb7f949d Add an option disabling warnings about trailing whitespace, and use it in flake8. 2016-09-15 13:08:21 +01:00
w0rp b236b6b353 Echo the cursor status with a very short delay, so it will override other plugins. 2016-09-15 10:57:11 +01:00
w0rp 7fa437985f Fix issues with switching buffers rapidly causing errors by remembering the buffer and passing the buffer value to various functions. 2016-09-14 11:47:52 +01:00
w0rp 746ffe8acd Better README grammar. 2016-09-13 23:18:52 +01:00
w0rp 8e7bf47530 Sort the table by name 2016-09-13 23:17:01 +01:00
w0rp 5684d7e3f9 Remove the Known Bugs section from the README. Issues can be used instead now. 2016-09-13 23:15:36 +01:00
w0rp 3de69db7e5 Add more information to the README file. 2016-09-13 23:10:24 +01:00
w0rp d438da2b3b Fix the eslint linter so it won't throw away lines if one earlier line doesn't match. 2016-09-13 22:26:04 +01:00
w0rp d2e1348c09 Make signs prefer errors to warnings if there are two loclist items for one line. 2016-09-13 22:25:28 +01:00
w0rp 0b8c2525b1 Make sure all files are loaded, not just the first. 2016-09-13 22:24:55 +01:00
w0rp 08ed282ac8 Add a linter rule for Python code. 2016-09-13 22:23:37 +01:00
w0rp 4dcfdd43e1 Add support for defining linters where the command that is run is determined by a callback. 2016-09-11 16:49:55 +01:00
w0rp 899e027859 Add Vim 8 support. 2016-09-10 01:37:40 +01:00
w0rp 23d63560c8 Update the readme now the bugs have been removed. 2016-09-09 22:49:18 +01:00
w0rp 33b5e30760 Fix bugs with directory listings and signs when switching tabs. 2016-09-09 22:48:40 +01:00
w0rp faf51d7a22 Ignore more files. 2016-09-09 22:47:54 +01:00
w0rp 37065bb252 Fix a bug with eslint parsing which mistakenly cleared markers 2016-09-09 22:25:26 +01:00
w0rp 11c11e578f Add linting with eslint in NeoVim, with a few bugs. 2016-09-09 00:23:26 +01:00