Coder Social home page Coder Social logo

updated-plugins's People

Contributors

ryo-inagaki avatar zyedidia 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

Watchers

 avatar  avatar  avatar

updated-plugins's Issues

filemanager: Opening new panes expands file tree pane

QoL bug. In the original plugin, the file tree pane maintained a consistent width. In the updated version, opening or closing other panes seems to cause the file tree pane to expand to the right. Closing and re-opening the file tree returns it to normal size.

I tried commenting out the various pane resizes in the plugin lua, but the problem persisted. Not sure if the issue is with micro or the plugin.

Update Plugins

Hi,
I wrote the join-lines-plugin and recently fixed some bugs. As I understand this repository is the source where all plugins are loaded from at the moment correct? Do you want me to open a PR for the changes on my plugin or what are the further plans with this repository as it seems to me to be temporary.

Snippets doesn't seem to work with indented words

Tabbed words doesn't seem to work with snippets. Only for spaces behind the word.

Also, html snippets autocomplete doesn't seem to respect indentation including the cursor being placed in the middle.
`

cursor is placed at the beginning of the line
` Like that example at the top.

snippets: Some golang snippets not expanding

Steps to reproduce:

  1. Install micro and run plugin install snippets command.
  2. Open any .go file (e. g. micro main.go) and put the following text (make sure lf is indented with a tab):
package main

func main() {
	lf
}
  1. Place cursor right to lf and run the snippetinsert command (or use Alt-S).

Result: it says Unknown snippet "lf"

Expected behavior: lf expands to log.Printf("%s", var)

I looked through the snippets.lua code. It seems that the CursorWord function is problematic. It looks back for a word until it encounters a space (literally: if (r == " ") then) or beginning of the line. But in go they use tabs for indents. So it captures \tlf as a snippet name.

I think it should check for any white space, not just "space".

snippets: Crushing instantly

While typing any key from keyboard, it crushing instantly.
.cs

Plugin snippets: snippets:489: attempt to index a non-table object(nil) with key 'AddLog'
stack traceback:
	snippets:489: in function 'debug1'
	snippets:347: in main chunk
	[G]: ?

.zig

Plugin snippets: snippets:489: attempt to index a non-table object(nil) with key 'AddLog'
stack traceback:
	snippets:489: in function 'debug1'
	snippets:347: in main chunk
	[G]: ?

filemanager: running touch/mkdir/rename crashes the plugin

Here's the result of opening the tree and then running the command touch test.txt.

Lua API error: filemanager:220: attempt to call a non-function object
stack traceback:
	filemanager:220: in function 'dirname_and_join'
	filemanager:691: in function 'create_filedir'
	filemanager:794: in main chunk
	[G]: ?

Press enter to continue

The same holds true for mkdir and rename.

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.