Git Product home page Git Product logo

autofenc's People

Contributors

s3rvac avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

autofenc's Issues

Fails on Windows with Cygwin/bash set as shell

On Windows if shell is set to bash (e.g., when using Cygwin), the custom nobbling of shellslash in s:SafeShellEscape actually breaks things, and you get E484 errors trying to use the temp file.

I've patched mine to not perform the nobble if shell is set to a shell-like filename:

if ( has("win32") || has("win64") ) && &shell !~? "sh$"

You could arguably do the opposite check against cmd.

Can't get to work detecting utf-16 xml with no BOM

I've got a utf-16 xml file that doesn't have a BOM. It looks like AutoFenc can't recognise this - the search for the <?xml version="1.0" encoding="utf-16" snippet always fails. Can vim search for this text in a utf-16 file that's being displayed as utf-8?

Regexp not working correctly for Windows Batch files

Comment regexp does not work correctly for comments in Windows Batch files (file extensions .bat and .cmd). Comments starts with keyword rem. If keyword rem starts at beginning of line, the regexp does not work. If I add a space in front of it, it works as expected, but looks ugly.

The comment regexp is too complicated for me, so I am not able to parse it my self, so I am sorry for not providing you with pull request.

This does not work:

rem vim: fileencoding=cp852

This works:

 rem vim: fileencoding=cp852

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.