|
From: | Bozhidar Batsov |
Subject: | bug#16907: 24.3.50; [ruby-mode] %w/W literals have incorrect indentation |
Date: | Sat, 1 Mar 2014 16:00:52 +0200 |
(Please keep it in Cc).
On 01.03.2014 13:00, Bozhidar Batsov wrote:2. Tokenize the elements inside the above literals without regard tocharacters used in them. `ruby-smie--backward-token' and its counterpartwould have to be able to easily know when it's inside such literal.Alternatively, still propertize them as "general strings", but replace`smie-indent-inside-string' in `smie-indent-functions' with aspecialized version that would look at what the string begins with.Option 1 seems better/cleaner to me,Option 1 is everything before "Alternatively". I'm not sure how toimplement the item 2 in it.
[Prev in Thread] | Current Thread | [Next in Thread] |