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

chore: Remove selene comments and references #106

Merged
merged 1 commit into from
Aug 27, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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