3
test "UD.1 should delete the given record" do
  [user, compnay ] = insert_record()
  asset = Asset |> last |> Repo.one
  {:ok, deleted} = Delete.delete(to_string(asset.id), user, company)
  assert asset.id == deleted.id
end

This is an .exs file. I have done :set spell and you can see the UD has a line under it.

In the second line, compnay is spelled incorrectly, however the spell checker is not picking it up. Why is that?

Do I need to install something?

3

Use

  :syntax spell toplevel

Many file types define regions where spell checking takes place. This is usually comments and strings, leaving the rest of the code not spell checked. However, you can change this behavior by having vim spell check everything (called the toplevel syntax).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.