Giter VIP home page Giter VIP logo

data-viewer.nvim's Introduction

Code for fun. ๐Ÿ˜ˆ

data-viewer.nvim's People

Contributors

github-actions[bot] avatar slotos avatar vidocqh 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  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  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  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

data-viewer.nvim's Issues

bug: can't run `:DataViewer` twice

Did you check docs and existing issues?

  • I have read all the plugin docs
  • I have searched the existing issues
  • I have searched the existing issues of plugins related to this issue

Neovim version (nvim -v)

NVIM v0.10.0 Build type: Release LuaJIT 2.1.1713773202

Operating system/version

MacOS 14.5 (23F79)

Describe the bug

I see the below error when I attempt to run :DataViewer for the 2nd time on a .csv buffer. This comes about if I've opened a CSV file and used DataViewer floating window to look at it for a bit, then close DataViewer, but then want to use it again.

Error executing Lua callback: ...k/paqs/start/data-viewer.nvim/lua/data-viewer/module.lua:109: Vim:E95: Buffer with this name already exists
stack traceback:
        [C]: in function 'nvim_buf_set_name'
        ...k/paqs/start/data-viewer.nvim/lua/data-viewer/module.lua:109: in function 'create_bufs'
        ...ite/pack/paqs/start/data-viewer.nvim/lua/data-viewer.lua:64: in function <...ite/pack/paqs/start/data-viewer.nvim/lua/data-viewer.lua:28>

It does not appear to happen with view = { float = false }

Steps To Reproduce

  1. open a .csv file
  2. run :DataViewer
  3. close the DataViewer floating window with :q
  4. run :DataViewer again

Expected Behavior

the DataViewer window should open again

feature: OPEN new TAB instead of FLOAT!

Did you check the docs?

  • I have read all the docs

Is your feature request related to a problem? Please describe.

sometimes its hard to navigate in float window

Describe the solution you'd like

Tab as viewer

Describe alternatives you've considered

idk

Additional context

No response

feature: Support for semicolon

Did you check the docs?

  • I have read all the docs

Is your feature request related to a problem? Please describe.

So I often use data that has commas in them, making csv not that good. I'm not a big fan of tab-delimiters, either, and within my field (quantitative sociology), at least, semicolon has been used widely as the separator of choice.
This is often used within 'csv' files, so it cannot be solved with a filetype.

Describe the solution you'd like

A way to notify the DataViewer command that it should use ';' as the separator.

Describe alternatives you've considered

Right now, I'm using tab as delimiter. This is ok when working alone, but when not the case, I need to transform the files in order to view them in the (amazing) dataviewer.

Additional context

No response

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.