Skip to content
This repository has been archived by the owner on Apr 16, 2024. It is now read-only.

Commit

Permalink
chore: Remove selene comments and references (#106)
Browse files Browse the repository at this point in the history
  • Loading branch information
jlaw authored Aug 27, 2021
1 parent 79d1a6f commit d33836d
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 17 deletions.
8 changes: 0 additions & 8 deletions docs/contributing.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,13 +88,6 @@ quote_style = "AutoPreferDouble"
> **NOTE:** use `--config-path /path/to/doom/nvim/stylua.toml` to use doom's
> stylua configuration.
- [selene] is a blazing-fast modern Lua linter written in Rust which is used for
linting doom's source code. We make use of some custom rules so we can be sure
that selene will not raise false errors.

> **NOTE:** use `selene .` in doom's root dir and selene will automatically
> detect the `selene.toml` and `doom.toml` files.
#### Commits & PRs

- Target `develop` instead of `main`.
Expand All @@ -113,4 +106,3 @@ your pull request :)

[gist]: https://gist.github.com/
[stylua]: https://github.com/JohnnyMorganz/StyLua
[selene]: https://github.com/Kampfkarren/selene
2 changes: 0 additions & 2 deletions docs/getting_started.md
Original file line number Diff line number Diff line change
Expand Up @@ -544,8 +544,6 @@ But first let's see what's new:
documentation is the core of all projects.
- Restructured source code. Now the doom nvim source code is much cleaner and
easier to understand.
- Added selene linter CI for incoming pull requests and stylua CI for pushes.
Let's get a consistent way to maintain Doom Nvim source!

Now that we know what's new we will surely want to update, isn't it?

Expand Down
2 changes: 0 additions & 2 deletions lua/doom/core/config/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,6 @@ end
--
-- @param langs The list of languages in the doomrc
M.install_servers = function(langs)
-- selene: allow(undefined_variable)
if packer_plugins and packer_plugins["lspinstall"] and packer_plugins["lspinstall"].loaded then
local lspinstall = require("lspinstall")
local installed_servers = lspinstall.installed_servers()
Expand Down Expand Up @@ -469,7 +468,6 @@ end
--
-- @param langs The list of languages in the doomrc
M.install_dap_clients = function(langs)
-- selene: allow(undefined_variable)
if
packer_plugins
and packer_plugins["DAPInstall.nvim"]
Expand Down
1 change: 0 additions & 1 deletion lua/doom/extras/logging/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ local default_config = {
-- {{{ NO NEED TO CHANGE
local log = {}

-- selene: allow(incorrect_standard_library_use)
local unpack = unpack or table.unpack

log.new = function(config, standalone)
Expand Down
1 change: 0 additions & 1 deletion lua/doom/modules/built-in/compiler/init.lua
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
local log = require("doom.extras.logging")
local term

-- selene: allow(undefined_variable)
if packer_plugins and packer_plugins["nvim-toggleterm.lua"] then
term = require("toggleterm.terminal").Terminal
else
Expand Down
1 change: 0 additions & 1 deletion lua/doom/modules/built-in/runner/init.lua
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
local log = require("doom.extras.logging")
local term

-- selene: allow(undefined_variable)
if packer_plugins and packer_plugins["nvim-toggleterm.lua"] then
term = require("toggleterm.terminal").Terminal
else
Expand Down
2 changes: 0 additions & 2 deletions lua/doom/modules/config/doom-compe.lua
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
--# selene: allow(global_usage)

--- nvim-compe configuration
-- https://github.com/hrsh7th/nvim-compe#lua-config
return function()
Expand Down

0 comments on commit d33836d

Please sign in to comment.