Dmytro Soltys

Results 12 issues of Dmytro Soltys

`highlight.create_component_highlight_group` right now keeps on adding new suffixes after already tried ones, which leads to exceeding of highlight group name limit quite fast. This commit fixes the problem by never...

# Preamble Right now, [`Solargraph::LanguageServer::Message::TextDocument::DocumentSymbol`](https://github.com/castwide/solargraph/blob/v0.44.3/lib/solargraph/language_server/message/text_document/document_symbol.rb) implements [SymbolInformation](https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#symbolInformation) interface. This interface is deprecated to be replaced with [DocumentSymbol](https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#documentSymbol) one. One of the benefits of DocumentSymbol interface is the inclusion of `children`...

## Describe the bug [Dry::Struct::ClassInterface#define_accessors](https://github.com/dry-rb/dry-struct/blob/master/lib/dry/struct/class_interface.rb#L480) naively consumes attribute value in eval block. If the name contains a single space, second word becomes a parameter. If argument contains special symbols, `SyntaxError`...

bug
help wanted

nvim-treesitter is transitioning to being just a parsers manager, with plugins being encouraged to move to independent initialization and implementation. This commit extracts nvim-treesitter plugin dependencies, copying those too big...

With this, Aerial works just by being present in runtime path. No requires are called on initialization, which should keep its impact on startup time to the minimum. Configuration is...

This change allows setting `vim.g.ts_context_commentstring_config` somewhere in, for example, `~/.config/nvim/plugin/ts_commentstring_config.lua` and have the plugin just work without any need to explicitly set it up. The configuration is read when config.lua...

This adds a handling of optional `fmt` return value that is a table of `{highlight = "*", name = "*"}` or `{name = "*"}` tables. The primary goal is to...

### Steps to reproduce ```ruby # frozen_string_literal: true require "bundler/inline" gemfile(true) do source "https://rubygems.org" git_source(:github) { |repo| "https://github.com/#{repo}.git" } gem "rails" # If you want to test against edge Rails...

activerecord

### Steps to reproduce ```ruby # frozen_string_literal: true require "bundler/inline" gemfile(true) do source "https://rubygems.org" git_source(:github) { |repo| "https://github.com/#{repo}.git" } gem "rails" # If you want to test against edge Rails...

activerecord
activestorage

Specifically, `.where([:id] => [])` is now equivalent to `where(:id => [])`. ### Motivation / Background This behaviour fixes `#collection_singular_ids=` for relations with composite query constraints when used in forms, as...

activerecord