Giter Site home page Giter Site logo

vim-plugin-dirsettings's People

Contributors

a-square avatar beberlei avatar embray avatar jakobwesthoff avatar mantiz avatar salomvary avatar tobys avatar

Stargazers

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

Watchers

 avatar  avatar

vim-plugin-dirsettings's Issues

Performance issues with BufReadPre hook

On my configuration, I found out that the BufReadPre hook causes the PrepareBuffer function to be called a huge number of time, e.g. when performing vimgrep /something/ **/*.ext commands on a project with hundreds of files. Each :cnext would take several seconds.

Commenting this hook seemed to resolve the hog.

Which cases are covered by BufReadPre and not by the 3 other hooks ?

Folder settings not applied when opening a folder

I often start vim with vim . so that I can then rely on other means to open my files (e.g. CtrlP or :edit completion).

The problem is that when I do that, the .virmc file in the current directory does not get loaded until I actually open a file in the current directory or its sub-directories. Which means that my project-specific wildignore setting isn't applied, which results in CtrlP listing the thousands of binary files in the build directories.

My current workaround is to open the first file that comes at hand to use just the vim command.

Is it possible to add a hook to load the local settings when “opening” a folder ?

test008_tags_loaded fails on OSX

I assume it actually fails on any case-insensitive file system since tags and TAGS are the same file.

test008_tags_loaded:
FAIL (msgout): The message assertion was not satisfied by the output: 
 --> Message assertion 1 from lines 2-4 did not match in output lines 1-3
     "../data/directory-only/tags/empty" $
     "../data/directory-only/tags/empty" 0L, 0C$
     tags successfull appended$

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.