Skip to content

Display weather in Neovim!

License

Notifications You must be signed in to change notification settings

zachbuchli/weather.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Display the weather in Neovim!

Demo screenshot

I totally stole most of the code for this plugin from here.

Installation

Using lazy.nvim

{
    'zachbuchli/weather.nvim',
    config = function()
      local weather = require 'weather'
      weather.setup({ default_location = 'dayton' })
      vim.keymap.set('n', '<leader>w', weather.show)
    end,
  },

You can then verify installation was successfull with :checkhealth weather. This plugin also registers the command :Weather to display the weather. By default, it shows the weather for Portland, Oregon. You can pass a location string as the first argument. Such as :Weather dayton for weather in Dayton, Ohio.