Fork me on GitHub
#vim
<
2019-02-01
>
zyxmn12:02:20

It seems that for vim fireplace to find the cljs files, the src directories must be placed in the :source-path field of dev profiles or any profile you use in the project.clj (Haven't tested the root :source-path field in project.clj). The confusion was because I was able to see the namespace I wanted in the cljs-repl but vim fireplace threw an error saying it could not find the said namespace. Realised cljs-repl uses :source-path settings in the build config and fireplace does not. Fireplace looks for namespaces only at only the profile or root source-path fields in project.clj file.

zyxmn16:02:37

Hey guys, any colorscheme recommendations for clojure and clojurescript? I am currently using default evening colorscheme

devth16:02:36

i used solarized

devth16:02:57

yetibot source

👍 5
uwo16:02:02

heh. which solarized? the original?

devth16:02:25

yep. original dark

zyxmn16:02:39

I am trying to jump to function definitions in other namespaces . I've installed ctags and run ctags -R in project folder to generate the tags file but I still get tag not found error . What am i missing?

Jan K16:02:33

@zyxmndaleyjes You don't need ctags, when fireplace is connected to the REPL it should work with [<C-D> (that is [ followed by ctrl+d)

zyxmn17:02:05

Works great ! Thanks . Gonna try this on my clojurescript projects aswell.

zyxmn17:02:04

How i get back to where I was after seeing the function definition

Jan K17:02:45

I use ctrl+o to jump back in steps

zyxmn17:02:26

:thumbsup:

Jan K17:02:18

Should work for cljs as well. Great thing about [<C-D> is it can jump into sources of dependencies or core clojure functions in jars

dave16:02:31

@zyxmndaleyjes ctags requires some special configuration to be improve the experience with clojure. your preferences may vary, but here is what i've got in my dotfiles: https://github.com/daveyarwood/dotfiles/blob/master/ctags

dave16:02:55

(that's ~/.ctags)

dave16:02:34

i also have this in my vimrc to make vim smarter about jumping to a tag from a namespaced symbol: https://github.com/daveyarwood/dotfiles/blob/49cfc09/vim/vim_runtime/vimrcs/filetypes.vim#L125-L140

zyxmn17:02:32

Thanks @dave. Checking it out 😄

dominicm18:02:04

Gruvbox and onehalf are favourites. I'm currently trying a monotone scheme

dominicm18:02:13

I can't remember the name

zyxmn18:02:20

why monotone why

dominicm18:02:49

More seriously, I'm just curious.

zyxmn18:02:15

pink monotone

zyxmn18:02:19

go for it

zyxmn18:02:29

candy vim

dominicm18:02:50

I think monotone supports that!

dave18:02:17

+1 gruvbox, so pleasing

dave18:02:09

what i'm looking at right now. color scheme is gruvbox

chrisulloa18:02:14

i really like ayu

chrisulloa18:02:38

slightly brighter than gruvbox

dominicm18:02:47

Colour schemes is apparently how you get this channel alive!

parrot 5
🎨 20
😆 15
dominicm18:02:35

Having used monochrome for just a day, I can see why people think it looks too bright

dominicm19:02:04

Ayu is brighter, but it feels very orange and like there's not much contrast between elements.

dave19:02:47

i feel the same way about ayu. i really want to like it, but it's so orange!