Displaying 20 results from an estimated 1000 matches similar to: "vim syntax highlighting of rjs templates"
2013 Feb 28
2
[LLVMdev] Propose to use rest.vim for vimrc of LLVM
Hello list,
I use LLVM's vimrc and found that this setting below is useful when
editing of reStructuredText file.
llvm/utils/vim/vimrc
" Enable syntax highlighting for reStructuredText files. To use, copy
" rest.vim (http://www.vim.org/scripts/script.php?script_id=973)
" to ~/.vim/syntax .
augroup filetype
au! BufRead,BufNewFile *.rst set filetype=rest
augroup END
2013 Feb 28
0
[LLVMdev] Propose to use rest.vim for vimrc of LLVM
Thanks, Journeyer. I applied the patch with r176235.
In future, you can submit patches to the llvm-commits mailing list. :)
-bw
On Feb 27, 2013, at 9:03 PM, Journeyer J. Joh <oosaprogrammer at gmail.com> wrote:
> Hello list,
>
> I use LLVM's vimrc and found that this setting below is useful when
> editing of reStructuredText file.
>
>
> llvm/utils/vim/vimrc
2002 Oct 07
1
[LLVMdev] VIM syntax highlighting
I have made a vim syntax highlighting script for LLVM. It can be found
at llvm/utils/vim/llvm.vim. You should copy this file to your
~/.vim/syntax/ directory and add the following lines to your .vimrc file
to have it automatically load on a .ll file.
augroup filetype
au! BufRead,BufNewFile *.ll set filetype=llvm
augroup END
Misha claims to be making a script for all you emacs
2006 May 23
7
how to pull text from database and eval it?
I''m trying to add some executable code to my blog posts. How can I
include this inside of a blog post and eval it?
Charlie bowman
http://www.recentrambles.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060523/a3536408/attachment.html
2006 May 26
11
Weird Caching Issue
Hey all,
Here''s the issue... I''m not entirely sure it''s even a Cache-related issue,
but here it goes:
I''ve deployed a Rails app onto a subdomain of my clients site... The server
is running Apache2, and I''m proxying through to Lighttpd. The issue I''m
having is that I''m able to add content to the site (data exists in the db),
but
2006 Apr 28
35
what''s your rails wishlist?
I''ve been working with rails for a while now. Rails is the second web
framework I''ve tried. It blows the doors off catalyst (perl''s best
framework). I even just wrote my first plugin (broomstick). Ruby''s
ability to meta-program blew me away with it''s ease of use. I''ve been
so impressed with the helpers that rails uses to make a lot of
2006 Jun 13
21
RJS Templates for Rails
I''m happy to announce the availability of RJS Templates for Rails
published by O''Reilly.
The book covers all aspects and features of RJS that are included in
Rails 1.1. It also walks through a few examples, debugging with
FireBug, and finishes off with some reference material.
The book is 56 pages and is available in PDF format. I''m really happy
with how the book has
2006 Mar 04
29
Getting RJS / EgdeRails working
Hi,
using Rails 1.0 on windows (without svn yet) I just wrote "rake
freeze_edge". Are the RJS-templates already included then ? When I write
"rake update_javascripts" I receive this error:
svn: ''.'' is not a working copy
Any tipps for a newbie on how to get the update done (if neccessary) ?
thx
Jan
2006 Apr 11
12
RJS
I am trying to use RJS as shown in this tutorial :
http://www.codyfauser.com/articles/2005/11/20/rails-rjs-templates
However it does not seem to work. I am not getting any excpetions in
the logs. Here is what the logs say :
Parameters: {"action"=>"add", "controller"=>"homepage"}
Rendering homepage/add
The homepage/add is named add.rjs
I know
2006 Mar 01
7
Instant Management Frontend with the Scaffolding Extensions Plugin
I''ve updated the Scaffolding Extensions Plugin[1] recently to add a
couple new features:
1) Scaffold all models and associations with one command
2) Show all associated objects on the edit page
Example of usage:
In an existing Rails application, create a controller (i.e.
"script/generate controller crud"), and modify so it looks like:
class CrudController <
2006 Mar 07
12
rjs and partials
I''m trying to update a list, and having a hard time applying visual effects
to the latest element created. Here is what I''m doing.
===========================================
1) Creating an "item" via an action, then rendering the RJS template
2) RJS template looks like this:
page.insert_html :top, ''items'', :partial =>
2006 Apr 07
5
RJS support "toggle" effect?
Does RJS inherently support the Element.toggle effect? I haven''t been
able to call it the way you call "appear", "fade", etc...
Jeff
--
Posted via http://www.ruby-forum.com/.
2006 May 12
5
Implementing URLs with more than 3 levels in Rails.
Hi There
I started using Rails recently, and I see it''s very easy for URLs that
have up to 3 levels:
/:controller/:action/:id
But what do you do when you need more than 3?
For example, my current project should have an "admin" interface.
Admin has several sub-interfaces, for example a "users" interface. And
the admin/users interface has several actions, e.g.
2006 Mar 09
15
open source editor
does anyone know of a good place to find an open source / freeware text
editor?
--
Posted via http://www.ruby-forum.com/.
2003 Mar 10
3
VIM Syntax Highlighting
Has anyone got vim to have syntax highlighting with R function codes? I
know there's something similar that works with emacs (ESS or something like
that), but I was wondering if anyone knew an equivalent that worked with vim.
Thank you,
--
[]'s
mentus at gmx.de
Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage!
2006 May 11
9
acts_as_commentable plugin
I''ve just about finished up work on a plugin similar to
acts_as_taggable, but for comments instead which would allow you to
attach comments (possibly even a threaded discussion if conbined with
acts_as_tree) to any object. Is there anyone that would be interested
in it? I don''t want to go throug the trouble of finding some way to
distribute it unless I know that there is a
2006 Apr 08
2
Cannot use view helpers in RJS helpers
Any ideas why I would get an error in a RJS helper on view helpers
such as number_to_currency.
Example:
# my_template.rjs
page.help_me
# my_helper for my_controller
def help_me
number_to_currency(10)
end
I have also tired page.number_to_currency but that doesn''t work either.
Cheers,
Nicholas
2006 Feb 08
2
301 Redirect with Rails
I have been searching for a way to do this but haven''t found anything yet.
Can anyone please guide me to a resource or tell me how I would go about doing a 301 (Moved Permanently) redirect using Rails?
Thanks
Frank
---------------------------------
Yahoo! Mail - Helps protect you from nasty viruses.
-------------- next part --------------
An HTML attachment was
2006 Feb 18
2
Effect queues with RJS templates and scriptaculous
Hi. I was wondering if it''s possible to combine effects for
individual elements with RJS templates. I notice that scriptaculous
has support for a concept called effect queues
(http://www.railsdevelopment.com/2006/01/15/effectqueue/). Is there
anyway to use these queues from rjs?
2006 Jan 29
9
Specify options with habtm
Hi all
I have the following models:
class member
has_and_belongs_to_many :disc_jockeys
end
class disc_jockey
has_and_belongs_to_many :members
end
The relation table is called disc_jockeys_members and has the following
fields:
disc_jockeys_members(disc_jockey_id, member_id, status)
So far, the field status can have values like valid, invalid, locked
etc., but it is not regarded yet by